IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39511


Ignore:
Timestamp:
Apr 2, 2016, 6:37:41 AM (10 years ago)
Author:
eugene
Message:

pass BASIC_IMAGE_CHECK to relphot_client

Location:
trunk/Ohana/src/relphot/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/args.c

    r39481 r39511  
    581581  }
    582582
     583  USE_BASIC_CHECK = FALSE;
     584  if ((N = get_argument (argc, argv, "-basic-image-search"))) {
     585    remove_argument (N, &argc, argv);
     586    USE_BASIC_CHECK = TRUE;
     587  }
     588
    583589  /* specify portion of the sky */
    584590  UserPatch.Rmin = 0;
  • trunk/Ohana/src/relphot/src/launch_region_hosts.c

    r39481 r39511  
    6767    if (MaxDensityUse)       strextend (&command, "-max-density %f", MaxDensityValue);
    6868    if (SyntheticPhotometry) strextend (&command, "-synthphot");
     69    if (USE_BASIC_CHECK)     strextend (&command, "-basic-image-search");
    6970
    7071    if (UPDATE)              strextend (&command, "-update");
  • trunk/Ohana/src/relphot/src/reload_catalogs.c

    r39481 r39511  
    245245    if (BOUNDARY_TREE)     { strextend (&command, "-boundary-tree %s", BOUNDARY_TREE); }
    246246    if (SYNTH_ZERO_POINTS) { strextend (&command, "-synthphot-zpts %s", SYNTH_ZERO_POINTS); }
     247    if (USE_BASIC_CHECK)   {  strextend (&command, "-basic-image-search"); }
    247248
    248249    if (!(STAGES & STAGE_CHIP))  { strextend (&command, "-skip-chip"); }
  • trunk/Ohana/src/relphot/src/relphot_objects.c

    r39481 r39511  
    217217    if (BOUNDARY_TREE)     { strextend (&command, "-boundary-tree %s", BOUNDARY_TREE); }
    218218    if (SYNTH_ZERO_POINTS) { strextend (&command, "-synthphot-zpts %s", SYNTH_ZERO_POINTS); }
     219    if (USE_BASIC_CHECK)   { strextend (&command, "-basic-image-search"); }
    219220
    220221    if (!(STAGES & STAGE_CHIP))  { strextend (&command, "-skip-chip"); }
  • trunk/Ohana/src/relphot/src/select_images.c

    r39483 r39511  
    4343  double DminSkyRegion = region[0].Dmin;
    4444  double DmaxSkyRegion = region[0].Dmax;
     45
     46  double dD = 5.0;
     47  double dR = dD / cos(RAD_DEG*DminSkyRegion);
     48  RminSkyRegion -= dR;
     49  RmaxSkyRegion += dR;
     50  DminSkyRegion -= dD;
     51  DmaxSkyRegion += dD;
    4552
    4653  double RmidSkyRegion = 0.5*(RminSkyRegion + RmaxSkyRegion);
Note: See TracChangeset for help on using the changeset viewer.