Skip to content

make_sumfiles.in

Eric E Palmer edited this page Oct 23, 2026 · 1 revision

make_sumfiles.in

Category B Version 3.0.1

Description

This text file is a list of the image files needed by make_sumfiles to create SUMFILES and NOMINALS. It is created by process_fits an becomes an input for make_sumfiles.

make_sumfiles.in contains these 6 columns:

  • image name loaded into process_fits
  • spacecraft time of each image
  • camera number that took the image
  • spacecraft number for mission
  • bin
  • UTC time of each image

The vectors in the sumfiles and nominals are calculated directly from the kernels in make_sumfiles.txt by using the time for each image obtained from make_sumfiles.in.

The following sample make_sumfiles.in is from OSIRIS_REx.

. /!\ This sample is in the format necessary for the OSIRIS-OREx mission. (!) Spacecraft time is needed to use CK kernels while epoch time is needed for spk kernels. Spacecraft, UTC, and epoch time can be transformed into one another pretty easily using spice, which SPC uses.

P596924821J3    3/0596924726.30615          3    1    1    -25.50       270     20181201T082552S75100Z_pol_L0_V002.fits
P601296494J3    1/0601296429.38732          3    1    1    -25.50       270     2019-01-20T22-47-05.541_PCAM_L0b_V004.fits
...

Column Definitions

PICNM CLK NC NS SCL TC NQ FITSNM
SPC-OREx Naming UTC or ET Camera 1-5 Spacecraft Number Binning (none) Temperature in C Filter/Focal Source filename
  • Camera Number [NC]
  1. SamCam
  2. MapCam
  3. PolyCam
  4. NavCam
  5. NFTCam

Filter Number -- MapCam has filters based upon its position -- in degrees

Position Filter Number
0 0
720 0
630 1
540 2
450 3
360 4
270 5
180 6
90 7
30 7

Filter Number --SamCam has filters based upon its position -- in degrees

Position Filter Number
0 0
720 0
600 1
480 2
360 3
240 4
120 5

Focal Position -- PolyCam NQ=FLT

  • The motor position, 0 to 17,400
where:

d is the distance the camera is focused at in m

For practical reasons the infinity setting we use in the lab is actually
~4.3 km (PolyCam step 17,400) not actual infinity. At that setting we
measured the effective focal length 627.8mm. Based on the formula above
it means our CBE for finf is 628.9mm so until we get a better number from
post launch calibration images we should use

f(d) = 628.9 - 2684 * d ^ -0.9376

(Compiled by EP)

old - make_sumfiles.in-3.0A2

Clone this wiki locally