Changeset 40865
- Timestamp:
- Aug 14, 2019, 9:59:19 AM (7 years ago)
- Location:
- branches/eam_branches/ohana.20190329/src/opihi/mana
- Files:
-
- 2 edited
- 1 moved
-
deimos.c (modified) (2 diffs)
-
deimos_getobj.v0.c (moved) (moved from branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_getobj.c )
-
deimos_mkobj.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20190329/src/opihi/mana/deimos.c
r40863 r40865 4 4 int deimos_fitslit (int argc, char **argv); 5 5 int deimos_mkobj (int argc, char **argv); 6 // int deimos_mkalt (int argc, char **argv); -- deprecated: mkobj adds slit vs psf traces as well as red vs blu chips7 6 int deimos_getobj (int argc, char **argv); 8 int deimos_getalt (int argc, char **argv);7 // int deimos_getalt (int argc, char **argv); 9 8 int deimos_fitobj (int argc, char **argv); 10 9 int deimos_fitalt (int argc, char **argv); … … 14 13 15 14 static Command deimos_commands[] = { 16 {1, "fitobj", deimos_fitobj, "fit for object parameters"}, 17 {1, "fitalt", deimos_fitalt, "fit for object parameters using LMM"}, 18 {1, "getobj", deimos_getobj, "determine crude object parameters"}, 19 {1, "getalt", deimos_getalt, "determine crude object parameters"}, 20 {1, "mkobj", deimos_mkobj, "make a full object image"}, 21 // {1, "mkalt", deimos_mkalt, "make a full object image (uses deimos_make_object, for a test)"}, 22 {1, "mkslit", deimos_mkslit, "make a slit image"}, 23 {1, "fitslit", deimos_fitslit, "fit slit image to observed slit flux"}, 24 {1, "arclines", deimos_arclines, "detect arclines using LSF and STILT"}, 25 {1, "fitarc", deimos_fitarc, "fit arclamp lines"}, 15 {1, "fitobj", deimos_fitobj, "fit for object parameters"}, 16 {1, "fitalt", deimos_fitalt, "fit for object parameters using LMM"}, 17 {1, "getobj", deimos_getobj, "determine crude object parameters"}, 18 {1, "getalt", deimos_getobj, "determine crude object parameters"}, 19 {1, "mkobj", deimos_mkobj, "make a full object image"}, 20 {1, "mkslit", deimos_mkslit, "make a slit image"}, 21 {1, "fitslit", deimos_fitslit, "fit slit image to observed slit flux"}, 22 {1, "arclines", deimos_arclines, "detect arclines using LSF and STILT"}, 23 {1, "fitarc", deimos_fitarc, "fit arclamp lines"}, 26 24 {1, "fitprofile", deimos_fitprofile, "fit slit profile"}, 27 25 }; -
branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_mkobj.c
r40838 r40865 6 6 7 7 // input parameters: 8 // * slit_trace : spline fit of slit central x pos vs y-coord 9 // * psf_trace : spline fit of psf central x pos vs y-coord 10 // * profile : slit window profile (vector) 11 // * object : vector of object flux vs y-coord 12 // * sky : vector of local sky signal vs y-coord 13 // * background : vector of extra-slit background flux vs y-coord 14 // * PSF : point-spread function vector (flux normalized, x-dir) 15 // * LSF : sline-spread function vector (flux normalized, y-dir) 16 // * stilt : slit tilt response : 2D kernel? 8 // * slit_trace_red : spline fit of slit central x pos vs y-coord for red chip 9 // * slit_trace_blu : spline fit of slit central x pos vs y-coord for blu chip 10 // * psf_trace : spline fit of psf central x pos vs y-coord 11 // * profile : slit window profile (vector) 12 // * object : vector of object flux vs y-coord 13 // * sky : vector of local sky signal vs y-coord 14 // * backgnd : vector of extra-slit background flux vs y-coord 15 // * PSF : point-spread function vector (flux normalized, x-dir) 16 // * LSF : sline-spread function vector (flux normalized, y-dir) 17 // * stilt : slit tilt response : 2D kernel? 18 19 // * redlimit : pixel break between red and blu chips 20 // * Nwave : number of wavelength pixels in output image 17 21 18 22 int N; … … 111 115 112 116 if (argc != 3) { 113 gprint (GP_ERR, "USAGE: deimos mkobj (buffer) (Ncross) [-Nwave N] [-object vector] [-sky vector] [-backgnd vector] [-slit-trace spline] [-psf-trace spline] [-profile vector]\n"); 114 gprint (GP_ERR, " psf-trace : cross-dispersion shift *relative* to the slit trace\n"); 115 gprint (GP_ERR, " sky : sky is relative to background outside slit\n"); 117 gprint (GP_ERR, "USAGE: deimos mkobj (buffer) (Ncross) [-object vector] [-sky vector] [-backgnd vector] [-slit-trace-red spline] [-slit-trace-blu spline] [-psf-trace spline] [-profile vector] [-psf vector] [-lsf vector] [-stilt angle] [-Nwave Npixel] [-redlimit pixel]\n"); 118 gprint (GP_ERR, " slit_trace_red : spline fit of slit central x pos vs y-coord for red chip\n"); 119 gprint (GP_ERR, " slit_trace_blu : spline fit of slit central x pos vs y-coord for blu chip\n"); 120 gprint (GP_ERR, " psf_trace : spline fit of psf central x pos vs y-coord\n"); 121 gprint (GP_ERR, " profile : slit window profile (vector)\n"); 122 gprint (GP_ERR, " object : vector of object flux vs y-coord \n"); 123 gprint (GP_ERR, " sky : vector of local sky signal vs y-coord\n"); 124 gprint (GP_ERR, " backgnd : vector of extra-slit background flux vs y-coord\n"); 125 gprint (GP_ERR, " PSF : point-spread function vector (flux normalized, x-dir)\n"); 126 gprint (GP_ERR, " LSF : sline-spread function vector (flux normalized, y-dir)\n"); 127 gprint (GP_ERR, " stilt : slit tilt response : 2D kernel? \n"); 128 gprint (GP_ERR, " redlimit : pixel break between red and blu chips\n"); 129 gprint (GP_ERR, " Nwave : number of wavelength pixels in output image\n"); 116 130 return FALSE; 117 131 }
Note:
See TracChangeset
for help on using the changeset viewer.
