Changeset 29857
- Timestamp:
- Nov 26, 2010, 11:01:27 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20101103/Ohana/src/photdbc
- Files:
-
- 4 edited
-
include/photdbc.h (modified) (1 diff)
-
src/args.c (modified) (2 diffs)
-
src/initialize.c (modified) (1 diff)
-
src/join_stars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101103/Ohana/src/photdbc/include/photdbc.h
r28331 r29857 114 114 int SetSignals (void); 115 115 int copy_images (char *outdir); 116 void usage(); -
branches/eam_branches/ipp-20101103/Ohana/src/photdbc/src/args.c
r8630 r29857 61 61 } 62 62 63 if (argc != 2) { 64 fprintf (stderr, "USAGE: photdbc (output)\n"); 65 exit (2); 66 } 63 if (argc != 2) usage(); 67 64 68 65 if ((REGION.Rmin == 0) && (REGION.Rmax == 360) && (REGION.Dmin == -90) && (REGION.Dmax == +90)) { … … 80 77 } 81 78 82 /** 79 void usage() { 83 80 84 this program takes an existing DVO database and makes a copy, applying a number of optional 85 filters in the process. 86 87 photdbc (output) 88 89 allowed filters / restrictions include: 90 91 -region ra dec ra dec : limit operation to the specified region 92 -join : join measurements between stars using JOIN_RADIUS 93 -ccdregion X Y X Y : only keep detections within the specified detector region 94 (can this be limited to specific photcodes? cameras? detectors?) 95 -photcode_limits code Mmin Mmax : allow multiples of these 96 97 SIGMA_MAX 98 NMEAS_MIN 99 INST_MAG_MAX 100 INST_MAG_MIN 101 102 **/ 81 fprintf (stderr, "USAGE: photdbc (output)\n\n"); 82 fprintf (stderr, " this program takes an existing DVO database and makes a copy, applying a number of optional\n"); 83 fprintf (stderr, " filters in the process. \n"); 84 fprintf (stderr, "\n"); 85 fprintf (stderr, " photdbc (output)\n"); 86 fprintf (stderr, "\n"); 87 fprintf (stderr, " allowed filters / restrictions include:\n"); 88 fprintf (stderr, "\n"); 89 fprintf (stderr, " -region Rmin Rmax Dmin Dmax : limit operation to the specified region \n"); 90 fprintf (stderr, " -join : join measurements between stars using JOIN_RADIUS\n"); 91 fprintf (stderr, " -ccdregion X Y X Y : only keep detections within the specified detector region\n"); 92 fprintf (stderr, " (can this be limited to specific photcodes? cameras? detectors?)\n"); 93 fprintf (stderr, " -photcode_limits code Mmin Mmax : allow multiples of these\n"); 94 fprintf (stderr, "\n"); 95 fprintf (stderr, " SIGMA_MAX\n"); 96 fprintf (stderr, " NMEAS_MIN\n"); 97 fprintf (stderr, " INST_MAG_MAX\n"); 98 fprintf (stderr, " INST_MAG_MIN\n"); 99 exit (2); 100 } -
branches/eam_branches/ipp-20101103/Ohana/src/photdbc/src/initialize.c
r4808 r29857 4 4 5 5 /* are these set correctly? */ 6 if (get_argument (argc, argv, "-h")) usage(); 7 if (get_argument (argc, argv, "--h")) usage(); 8 if (get_argument (argc, argv, "-help")) usage(); 9 if (get_argument (argc, argv, "--help")) usage(); 10 6 11 ConfigInit (&argc, argv); 7 12 args (argc, argv); -
branches/eam_branches/ipp-20101103/Ohana/src/photdbc/src/join_stars.c
r28306 r29857 32 32 33 33 /* reference for coords is this region */ 34 Ncurr = 0; 34 35 Naves = 0; 35 36 Rmid = Dmid = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
