Differences between revisions 2 and 20 (spanning 18 versions)
Revision 2 as of 2014-02-11 23:47:28
Size: 594
Editor: EricPalmer
Comment:
Revision 20 as of 2016-01-27 10:11:54
Size: 2300
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== make_sumfiles == = make_sumfiles =
Line 3: Line 3:
Builds the sumfile and nominals Compiled by KD
Line 5: Line 5:
I don't know what B-Frame is.
You must update the ck and spk entries in ["make_sumfiles.txt"]. You must have entries that cover the time of all of your images.
== Description ==
In general, make_sumfiles ingests images into SPC. It takes in, as a standard input, the name and camera position of the images from [[make_sumfiles.in]]. It will convert the image into the <filename>.DAT format in [[IMAGEFILES]]. It will also generate <filename>.SUM in [[SUMFILES]] and <filename>.NOM in [[NOMINALS]]. Finally, it will append the image name onto [[PICTLIST.TXT]].
Line 8: Line 8:
== Input ==
 * ["make_sumfiles.txt"] - list of SPICE kernels
 * ["make_sumfiles.in"] - list of files from ["process_img"]
In other words, make_sumfiles builds the sumfiles and nominals. The user should know that all the vectors in the sumfiles and nominals are in a body fixed frame with the origin at the center of the target body (the origin might be off a little bit, which means [[shift]] will have to be used eventually). Furthermore, for make_sumfiles to work, the ck and spk kernel names in [[make_sumfiles.txt]] must cover the time span of all the images being ingested.
Line 12: Line 10:
This program is non-standard. While the goal is to make a single version that does it all, each mission has a different image format. This program frequently has different versions for different missions to get the data in a form usable by SPC.
Line 13: Line 12:
== Input Files ==
 * Spice kernel file (SPICE)
 * [[make_sumfiles.txt]] - list of SPICE kernels
 * [[make_sumfiles.in]] - list of files from [[process_fits]]
Line 14: Line 17:
== Input stdin ==
Line 23: Line 26:
Line 26: Line 28:
 * if 0 is selected - routine does as description suggests and ends
 * if 1 is selected - routine does as description suggests and ends
 * if 2 is selected - the following questions need to be answered:
{{{
Update UTC? (y/n)
Update image thresholds? (y/n)
Update camera parameters? (y/n)
Reset geometry? (y/n)
Reset sigmas? (y/n)
}}}
Line 28: Line 40:
 * ["PICTLIST.TXT"]
 * ["NOMINALS"]
 * ["SUMFILES"]
 * [[IFRAME.TXT]] - picture properties
 * [[PICTLIST.TXT]] - list of pictures
 * [[NOMINALS]] - nominal navigation information and uncertainties
 * [[SUMFILES]] - camera properties and navigation information

== Alternative Description ==
Combines the converted image file with the image number, spacecraft state, spacecraft position & velocity and pointing information along with the associated calculated errors (Sigmas).

make_sumfiles

Compiled by KD

Description

In general, make_sumfiles ingests images into SPC. It takes in, as a standard input, the name and camera position of the images from make_sumfiles.in. It will convert the image into the <filename>.DAT format in IMAGEFILES. It will also generate <filename>.SUM in SUMFILES and <filename>.NOM in NOMINALS. Finally, it will append the image name onto PICTLIST.TXT.

In other words, make_sumfiles builds the sumfiles and nominals. The user should know that all the vectors in the sumfiles and nominals are in a body fixed frame with the origin at the center of the target body (the origin might be off a little bit, which means shift will have to be used eventually). Furthermore, for make_sumfiles to work, the ck and spk kernel names in make_sumfiles.txt must cover the time span of all the images being ingested.

This program is non-standard. While the goal is to make a single version that does it all, each mission has a different image format. This program frequently has different versions for different missions to get the data in a form usable by SPC.

Input Files

Input stdin

 ~/bin/e.make_sumfiles 
 Use B-Frame? (y/n)
n
 0.  Create SUMFILES & NOMINALS and ..
 1.  Update old NOMINALS and ..
 2.  Update old SUMFILES 
0
  • if 0 is selected - routine does as description suggests and ends
  • if 1 is selected - routine does as description suggests and ends
  • if 2 is selected - the following questions need to be answered:

Update UTC? (y/n)
Update image thresholds? (y/n)
Update camera parameters? (y/n)
Reset geometry? (y/n)
Reset sigmas? (y/n)

Output

Alternative Description

Combines the converted image file with the image number, spacecraft state, spacecraft position & velocity and pointing information along with the associated calculated errors (Sigmas).

make_sumfiles (last edited 2018-05-05 19:07:31 by BMittan)