## page was renamed from regress = regres = . (./) check this: Need to update PICTLISTR.TXT input file. Need to specify required files/directories to run. needs SUMFILES, NOMINALS, make_sumfiles.txt, etc == Description == This program generates a set of ascii interface files, one for each image, containing optical navigation observables, partials, and relevant ancillary information for use in the FDS navigation software suite(s). Both MIRAGE (KinetX) and GEODYN (GSFC) are currently ingesting these files. A file is created for each image in the restricted picture list, PICTLISTR.TXT, and only landmarks from a restricted landmark list, LMRKLISTR.TXT, are used. If the PICTLISTR.TXT file does not exist, the software defaults to PICTLIST.TXT. Each files contains the following information: * SPICE IDs, image epoch, camera parameters * TITV matrix (inertial to camera frame transformation) * TPMI matrix (body-fixed to inertial transformation) * SPC solution for: * Spacecraft-to-object vector * Camera pointing (RA, Dec, Twist) * Spacecraft position sigma * Camera pointing and twist sigmas * Nominal (a priori): * Spacecraft-to-object vector * Camera pointing (RA, Dec, Twist) * Solar unit vector * For each landmark identified in the image from SPC process: * Landmark name * Body-fixed control point vector * Body-fixed control point sigma * Observed landmark center in (pixel, line) image coordinates * Predicted landmark center in (pixel, line) image coordinates based on nominal S/C position and SPC solution for camera pointing * Partial derivatives for (pixel, line) w.r.t. spacecraft-body position vector (SCOBJ) * Partial derivatives for (pixel, line) w.r.t. camera pointing (RA, Dec, Twist) * List of all SPICE kernels used '''regres''' requires the directory "REGRES_FILES" in the working directory. '''regres''' exports files for each picture (.TXT) to the "REGRES_FILES" directory. '''regres''' uses all pictures in [[PICTLIST.TXT]] and landmarks in [[LMRKLISTR.TXT]] to make the exported regres files. However, if you have created a [[PICTLISTR.TXT]], '''regres''' will only use the pictures from that file. '''regres''' uses data from NOMINAL === Input Files === * [[PICTLIST.TXT]] or [[PICTLISTR.TXT]] * [[LMRKLISTR.TXT]] * [[NOMINALS]]/ * [[SUMFILES]]/ * [[INIT_LITHOS.TXT]] * [[make_sumfiles.txt]] === Output Files === * /REGRES_FILES/.TXT == Using regres == Here is an annotated sample output file from '''regres''': {{{ REGRES FILE. CREATED [time of creation] C PARTIALS UNITS: PX/KM, PX/DEG C C CAMERA ID C SPACECRAFT ID C TARGET ID C ABCORR C C UTC [Image time] C ET SEC PAST J2000 C C NPX, NLN [Image size ib pixels and lines] C MMFL, CTR [Camera focal length and image center] C K-MATRIX C C TITV [Inertial to camera frame rotation] C TPMI [Body-fixed to inertial rotation] C C LITHOS SOLUTION: C C SC - OBJ VECTOR C CAMERA RA, DC, TW C S/C POSITION SIG C PNT SIGMA (DEG) C TWIST SIGMA (DEG) C C NOMINAL SOLUTION: C C SC - OBJ VECTOR C CAMERA RA, DC, TW C SOLAR UNIT VECTOR C C LANDMARKS: [One for each landmark] C C BODY-FIXED VLM C B-F VLM SIGMA [Formal uncertainty in LM position] C PX, LN OBSERVED [Landmark location in image] C PX, LN PREDICTED [Uses nominal scobj, solved pointing] C dpx/dW1, dln/dW1 C dpx/dW2, dln/dW2 [Partials wrt scobj] C dpx/dW3, dln/dW3 C dpx/dRA, dln/dRA C dpx/dDC, dln/dDC [Partials wrt pointing Euler angles] C dpx/dTW, dln/dTW C C END LANDMARKS C C KERNEL LIST C C [list of all spice kernels used] C C END FILE }}} ---------- ''(Compiled by KD)'' CategoryPrograms