IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39207


Ignore:
Timestamp:
Dec 1, 2015, 3:16:03 PM (11 years ago)
Author:
eugene
Message:

add limits to distance modulus and error

Location:
branches/eam_branches/ipp-20151113/Ohana/src/relastro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20151113/Ohana/src/relastro/include/relastro.h

    r39185 r39207  
    254254int SRC_MEAS_TOOFEW; //catalog objects wich fewer detections then this are ignored
    255255double MIN_ERROR;
     256
     257double MIN_DISTANCE_MOD; 
     258double MAX_DISTANCE_MOD; 
     259double MAX_DISTANCE_MOD_ERR;
    256260
    257261int    IMFIT_TOO_FEW; // need more than this number of stars to fit an image
  • branches/eam_branches/ipp-20151113/Ohana/src/relastro/src/ConfigInit.c

    r37807 r39207  
    3535  if (!ScanConfig (config, "RELASTRO_DPOS_MAX",      "%lf", 0, &DPOS_MAX))         DPOS_MAX = 6.0;   
    3636  if (!ScanConfig (config, "ADDSTAR_RADIUS",         "%lf", 0, &ADDSTAR_RADIUS))   ADDSTAR_RADIUS = 1.0;
     37
     38  if (!ScanConfig (config, "RELASTRO_MIN_DISTANCE_MOD",     "%lf", 0, &MIN_DISTANCE_MOD))     MIN_DISTANCE_MOD     =  7.5;
     39  if (!ScanConfig (config, "RELASTRO_MAX_DISTANCE_MOD",     "%lf", 0, &MAX_DISTANCE_MOD))     MAX_DISTANCE_MOD     = 15.0;
     40  if (!ScanConfig (config, "RELASTRO_MAX_DISTANCE_MOD_ERR", "%lf", 0, &MAX_DISTANCE_MOD_ERR)) MAX_DISTANCE_MOD_ERR =  1.0;
    3741
    3842  if (!ScanConfig (config, "USE_FIXED_PIXCOORDS", "%d", 0, &USE_FIXED_PIXCOORDS))  USE_FIXED_PIXCOORDS = FALSE;
  • branches/eam_branches/ipp-20151113/Ohana/src/relastro/src/load_catalogs.c

    r38986 r39207  
    171171    strextend (&command, " -minerror %f", MIN_ERROR);
    172172    strextend (&command, " -D RELASTRO_SIGMA_LIM %f", SIGMA_LIM);
     173    strextend (&command, " -D RELASTRO_MIN_DISTANCE_MOD %f",     MIN_DISTANCE_MOD);
     174    strextend (&command, " -D RELASTRO_MAX_DISTANCE_MOD %f",     MAX_DISTANCE_MOD);
     175    strextend (&command, " -D RELASTRO_MAX_DISTANCE_MOD_ERR %f", MAX_DISTANCE_MOD_ERR);
    173176
    174177    if (FIT_MODE == FIT_PM_ONLY)         strextend (&command, "-pm");
Note: See TracChangeset for help on using the changeset viewer.