Differences between revisions 1 and 23 (spanning 22 versions)
Revision 1 as of 2014-02-11 23:50:06
Size: 604
Editor: EricPalmer
Comment:
Revision 23 as of 2017-12-20 14:03:49
Size: 2791
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== make_sumfiles.in == = make_sumfiles.in =
Line 3: Line 3:
A list of the images files needed. It is used by ["make_sumfiles"] to create ["SUMFILES"] and ["NOMINALS"]. ||Category B||Version 3.0.1||
Line 5: Line 5:
It is created by ["process_img"]. == 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.
Line 8: Line 27:
FC21A0014662 377642737:125 2 1 1
FC21A0014663 377642812:125 2 1 1
FC21A0014664 377642887:126 2 1 1
FC21A0016638 379008279:125 2 1 1
...
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
...
Line 14: Line 31:

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)''

[[make_sumfiles.in-3.0A2]]

CategoryFiles CategoryInputFiles

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

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)

make_sumfiles.in-3.0A2

CategoryFiles CategoryInputFiles

make_sumfiles.in (last edited 2017-12-26 13:56:21 by EricPalmer)