regres

Description

This program takes position and SPICE file information from SPC and outputs it in files for export to other users. So far, the other user has mainly been KinetX; they use SPC info in their navigation software.

regres requires the directory "REGRES_FILES" in the working directory. regres exports files for each picture (<PICTURE NAME>.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.

Input Files

Output Files

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

regres (last edited 2016-02-15 10:37:24 by BMittan)