IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11472


Ignore:
Timestamp:
Jan 30, 2007, 5:50:04 PM (19 years ago)
Author:
eugene
Message:

trying pmChipExtent (problems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroUtils.c

    r10880 r11472  
    8080
    8181    // XXX this region needs to be defined more intelligently
    82     psRegion region = {0, 0, 2000, 4500};
     82    // psRegion *region = pmChipExtent (chip);
     83    psRegion *region = psRegionAlloc (0, 2000, 0, 2000);
     84
    8385    psFree (chip->fromFPA);
    84     chip->fromFPA = psPlaneTransformInvert (NULL, chip->toFPA, region, 20);
     86    chip->fromFPA = psPlaneTransformInvert (NULL, chip->toFPA, *region, 20);
     87
     88//    PS_POLY_PRINT_2D(chip->toFPA->x);
     89//    PS_POLY_PRINT_2D(chip->toFPA->y);
     90
     91//    PS_POLY_PRINT_2D(chip->fromFPA->x);
     92//    PS_POLY_PRINT_2D(chip->fromFPA->y);
    8593
    8694    for (int i = 0; i < rawstars->n; i++) {
     
    97105    }
    98106
     107    psFree (region);
    99108    return true;
    100109}
Note: See TracChangeset for help on using the changeset viewer.