Size: 2119
Comment:
|
Size: 2646
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from regress | |
Line 2: | Line 3: |
Compiled by KD |
. (./) check this: Need to update PICTLISTR.TXT input file. Need to specify required files/directories to run. needs SUMFILES, NOMINALS, make_sumfiles.txt, etc |
Line 6: | Line 6: |
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: | |
Line 7: | Line 8: |
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. | * 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 |
Line 9: | Line 30: |
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. | '''regres''' requires the directory "REGRES_FILES" in the working directory. '''regres''' exports files for each picture (<PICTURE NAME>.TXT) to the "REGRES_FILES" directory. |
Line 11: | Line 32: |
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. | '''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. |
Line 13: | Line 34: |
== Exported File Information == | '''regres''' uses data from NOMINAL === Input Files === * [[PICTLIST.TXT]] or [[PICTLISTR.TXT]] * [[LMRKLISTR.TXT]] * [[NOMINALS]]/ * [[SUMFILES]]/ * [[INIT_LITHOS.TXT]] * [[make_sumfiles.txt]] === Output Files === * <path to working directory>/REGRES_FILES/<picture name>.TXT == Using regres == Here is a output file from '''regres''': |
Line 15: | Line 51: |
REGRES FILE. CREATED [time of creation] PARTIALS UNITS: PX/KM, PX/DEG |
}}} ---------- ''(Compiled by KD)'' |
Line 18: | Line 55: |
CAMERA ID SPACECRAFT ID TARGET ID ABCORR UTC [Image time] ET SEC PAST J2000 NPX, NLN [Image size ib pixels and lines] MMFL, CTR [Camera focal length and image center] K-MATRIX TITV [Inertial to camera frame rotation] TPMI [Body-fixed to inertial rotation] LITHOS SOLUTION: SC - OBJ VECTOR CAMERA RA, DC, TW S/C POSITION SIG PNT SIGMA (DEG) TWIST SIGMA (DEG) NOMINAL SOLUTION: SC - OBJ VECTOR CAMERA RA, DC, TW SOLAR UNIT VECTOR LANDMARKS: [One for each landmark] BODY-FIXED VLM B-F VLM SIGMA [Formal uncertainty in LM position] PX, LN OBSERVED [Landmark location in image] PX, LN PREDICTED [Uses nominal scobj, solved pointing] dpx/dW1, dln/dW1 dpx/dW2, dln/dW2 [Partials wrt scobj] dpx/dW3, dln/dW3 dpx/dRA, dln/dRA dpx/dDC, dln/dDC [Partials wrt pointing Euler angles] dpx/dTW, dln/dTW C C END LANDMARKS C C KERNEL LIST C C [list of all spice kernels used] C C END FILE }}} |
CategoryPrograms |
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 (<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.
regres uses data from NOMINAL
Input Files
Output Files
<path to working directory>/REGRES_FILES/<picture name>.TXT
Using regres
Here is a output file from regres:
(Compiled by KD)