IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2006, 11:22:28 AM (20 years ago)
Author:
magnier
Message:

added new tests for bilevel astrometry terms

Location:
trunk/psModules/test/astrom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/astrom

    • Property svn:ignore
      •  

        old new  
        77tst_pmAstrometry01
        88tap_pmAstrometryWCS
         9tap_pmAstrometryWCS_DVO
        910tap_pmAstrometryWCS_DVO2
        1011tap_pmAstrometryWCS_DVO3
        11 tap_pmAstrometryWCS_DVO
         12tap_pmAstrometryWCS_DVO4
  • trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO2.c

    r10786 r10824  
    6767    pmChip *chip = pmChipAlloc (fpa, NULL);
    6868
    69     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     69    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    7070    ok (status, "converted WCS keywords to WCS astrometry");
    7171    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    8585
    8686            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    87             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     87            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    8888            psDeproject (onSky, onTPA, fpa->toSky);
    8989
     
    138138    pmChip *chip = pmChipAlloc (fpa, NULL);
    139139
    140     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     140    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    141141    ok (status, "converted WCS keywords to WCS astrometry");
    142142    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    156156
    157157            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    158             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     158            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    159159            psDeproject (onSky, onTPA, fpa->toSky);
    160160
     
    212212    pmChip *chip = pmChipAlloc (fpa, NULL);
    213213
    214     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     214    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    215215    ok (status, "converted WCS keywords to WCS astrometry");
    216216    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    230230
    231231            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    232             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     232            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    233233            psDeproject (onSky, onTPA, fpa->toSky);
    234234
     
    283283    pmChip *chip = pmChipAlloc (fpa, NULL);
    284284
    285     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     285    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    286286    ok (status, "converted WCS keywords to WCS astrometry");
    287287    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    301301
    302302            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    303             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     303            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    304304            psDeproject (onSky, onTPA, fpa->toSky);
    305305
     
    354354    pmChip *chip = pmChipAlloc (fpa, NULL);
    355355
    356     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     356    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    357357    ok (status, "converted WCS keywords to WCS astrometry");
    358358    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    372372
    373373            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    374             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     374            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    375375            psDeproject (onSky, onTPA, fpa->toSky);
    376376
     
    428428    pmChip *chip = pmChipAlloc (fpa, NULL);
    429429
    430     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     430    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    431431    ok (status, "converted WCS keywords to WCS astrometry");
    432432    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    446446
    447447            psPlaneTransformApply (onFPA, chip->toFPA, onChip);
    448             psPlaneDistortApply (onTPA, fpa->toTPA, onFPA, 0.0, 0.0);
     448            psPlaneTransformApply (onTPA, fpa->toTPA, onFPA);
    449449            psDeproject (onSky, onTPA, fpa->toSky);
    450450
     
    505505    pmChip *chip = pmChipAlloc (fpa, NULL);
    506506
    507     bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0, false);
     507    bool status = pmAstromReadWCS (fpa, chip, header, PM_RAD_DEG*10.0/3600.0);
    508508    ok (status, "converted WCS keywords to WCS astrometry");
    509509    skip_start (!status, 1, "*** WCS Conversion FAILS *** : skipping related tests");
     
    524524
    525525            psPlaneTransformApply (aFPA, chip->toFPA, aChip);
    526             psPlaneDistortApply (aTPA, fpa->toTPA, aFPA, 0.0, 0.0);
     526            psPlaneTransformApply (aTPA, fpa->toTPA, aFPA);
    527527            psDeproject (onSky, aTPA, fpa->toSky);
    528528
     
    533533
    534534            psProject (bTPA, onSky, fpa->toSky);
    535             psPlaneDistortApply (bFPA, fpa->fromTPA, bTPA, 0.0, 0.0);
     535            psPlaneTransformApply (bFPA, fpa->fromTPA, bTPA);
    536536            psPlaneTransformApply (bChip, chip->fromFPA, bFPA);
    537537
Note: See TracChangeset for help on using the changeset viewer.