IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 1, 2016, 10:09:40 AM (10 years ago)
Author:
eugene
Message:

add code to repair broken stack-to-image links; carefully check the chip, warp, stack measurement and image consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/include/relastro.h

    r39612 r39619  
    257257
    258258typedef struct {
     259  int NStackFixExtID;
     260  int NStackFixImageID;
     261  int NstackBadCoords;
     262  int NstackFailRepair_v1;
     263  int NstackFailRepair_v2;
     264  int NstackFixCoords;
     265  int NstackMissImage;
     266  int NstackMissTime;
     267  int NstackNoImageID;
     268} StackRepairResult;
     269
     270typedef struct {
    259271  int NfixChipID;
    260272  int NfixStackID;
     
    269281} WarpRepairResult;
    270282
     283typedef struct {
     284  int NstackNoImageID;
     285  int NstackBadCoords;
     286  int NstackBadTime;
     287  int NstackBadImageCoords;
     288  int NwarpNoImageID;
     289  int NwarpBadCoords;
     290  int NwarpBadTime;
     291  int NwarpBadImageCoords;
     292  int NchipNoImageID;
     293  int NchipBadCoords;
     294  int NchipBadTime;
     295  int NchipBadImageCoords;
     296} CheckMeasureResult;
     297
    271298# define ID_MEAS_OBJECT_HAS_2MASS ID_MEAS_POOR_PHOTOM
    272299
     
    333360int    USE_ICRF_POLE;
    334361
     362int    REPAIR_STACKS;
    335363int    USE_IMAGE_COORDS_FOR_REPAIR;
    336364int    USE_ALL_IMAGES;
     365int    CHECK_MEASURE_TO_IMAGE;
    337366
    338367int    RESET;
     
    834863uint64_t CreatePSPSStackDetectionID(int sourceID, int imageID, int detID);
    835864uint64_t CreatePSPSDetectionID(double tobs, int ccdid, int detID);
     865
     866void sort_by_ra (double *R, double *D, int *I, int *S, int N);
     867void FreeStackGroups (void);
     868int GetStackSeq (Image *image, double Rstk, double Dstk, unsigned short photcode, float X, float Y);
     869int MakeStackIndex (void);
     870int RepairStackID (StackRepairResult *result, Image *image, double Rave, double Dave, Measure *measureB, MeasureTiny *measureT);
     871StackRepairResult RepairStackMeasures (Catalog *catalog);
     872int CheckMeasureToImage (Catalog *catalog);
Note: See TracChangeset for help on using the changeset viewer.