Differences between revisions 5 and 10 (spanning 5 versions)
Revision 5 as of 2016-01-21 11:58:46
Size: 2836
Comment:
Revision 10 as of 2016-01-27 14:35:30
Size: 2839
Editor: tcampb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from regress
Line 9: Line 10:
For regrets to run a directory called "REGRES_FILES" needs to be made in the working directory. When regres is then run, export files for each picture are made (<PICTURE NAME>.TXT) and placed in the REGRES_FILES directory. For regres to run, a directory called "REGRES_FILES" needs to be made in the working directory. When regres is then run, export files for each picture are made (<PICTURE NAME>.TXT) and placed in the REGRES_FILES directory.
Line 11: Line 12:
All pictures in [[PICLIST.TXT]] will be used to make the exported regres files along with landmarks in [[LMKLIST.TXT]]. However, if a [[PICLISTR.TXT]] and [[LMKRLIST.TXT]] have been made, regres will only use the pictures and landmarks from those files when making the exported regres files. All pictures in [[PICTLIST.TXT]] will be used to make the exported regres files along with landmarks in [[LMRKLISTR.TXT]]. However, if a [[PICTLISTR.TXT]] has been made, regres will only use the pictures from that file when making the exported regres files.
Line 14: Line 15:
 * [[PICLIST.TXT]] or [[PICLISTR.TXT]]
 * [[LMKLIST.TXT]] or [[LMRKLISTR.TXT]]
 * [[PICTLIST.TXT]] or [[PICTLISTR.TXT]]
 * [[LMRKLIST.TXT]] or [[LMRKLISTR.TXT]]

regres

Compiled by KD

Description

The program regres takes position and SPICE file information from SPC and puts it in files for export to other users. Specifically, that other user has mainly been KinetX so they can use SPC info in their navigation software.

For regres to run, a directory called "REGRES_FILES" needs to be made in the working directory. When regres is then run, export files for each picture are made (<PICTURE NAME>.TXT) and placed in the REGRES_FILES directory.

All pictures in PICTLIST.TXT will be used to make the exported regres files along with landmarks in LMRKLISTR.TXT. However, if a PICTLISTR.TXT has been made, regres will only use the pictures from that file when making the exported regres files.

Input Files

Output Files

  • <path to working directory>/REGRES_FILES/<pixture name>.TXT

Exported File Information

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

regres (last edited 2017-12-21 15:43:15 by EricPalmer)