Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2018-05-22 10:46:02
Size: 514
Editor: EricPalmer
Comment:
Revision 3 as of 2018-05-22 11:21:22
Size: 1490
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 6: Line 5:
This input file contains the parameters to convert DN values (level 0 images) into temperatures and the weighting to apply to the final solution. During calibration, it is expected that the team will identify some level of adjustment that is needed to the focal length of the camera as a function of temperature. While OCAMS appears to have little adjustment, TAGCAM appears to need some corrections. These values are provided in the TMP2FOCLEN.TXT. The constant coefficient is MMFL(T)-MMFL(make_sumfiles.txt). Temperature corrected focal length is written to SUMFILE.
Line 9: Line 8:
=== Weighting === The values in the file are the coefficients for the standard quadratic equation y = A * x^2 + B * x + C

The current values are a simple linear functions y = B * x; however, the system allows for more complex adjustments if needed without a code change.

This file must be stored in the kernel directory.
Line 13: Line 16:
||Camera Number ||Coef 1 ||Coef 2 ||Coef 3 ||Coef 4 ||Weight 1 ||Weight 2 ||Weight 3 ||Weight 4 ||
|| ||C1 ||C 2 ||C 3 ||C 4 ||W 1 ||W 2 ||W 3 ||W 4 ||
Line 16: Line 17:
Here is a sample '''TMP2FOCLEN.TXT''' file:
|| ID||A ||B ||C ||
|| The Camera ID number || Coefficient A for the x squared term || Coefficient B for the x || Coefficient C for a constant ||

Units of A, B, C are in mm.

=== Rows ===
One should provide a separate row for each camera defined in [[make_sumfiles.txt]]. SPC will use the 1st digit as the index for the camera (thus, they don't have to be in order). The camera ID needs to match the ID that is used in [[make_sumfiles.txt]]


----
=== Example ===


Here is a sample '''TMP2FOCLEN.TXT''' file.
Line 19: Line 34:

1 0 0 0
2 0 0 0
3 0 0 0
4 0 -2.3750e-4 0
5 0 -2.3750e-4 0

TMP2FOCLEN.TXT

Category B

Version 3.0.1

Description

During calibration, it is expected that the team will identify some level of adjustment that is needed to the focal length of the camera as a function of temperature. While OCAMS appears to have little adjustment, TAGCAM appears to need some corrections. These values are provided in the TMP2FOCLEN.TXT. The constant coefficient is MMFL(T)-MMFL(make_sumfiles.txt). Temperature corrected focal length is written to SUMFILE.

The values in the file are the coefficients for the standard quadratic equation y = A * x^2 + B * x + C

The current values are a simple linear functions y = B * x; however, the system allows for more complex adjustments if needed without a code change.

This file must be stored in the kernel directory.

Columns

ID

A

B

C

The Camera ID number

Coefficient A for the x squared term

Coefficient B for the x

Coefficient C for a constant

Units of A, B, C are in mm.

Rows

One should provide a separate row for each camera defined in make_sumfiles.txt. SPC will use the 1st digit as the index for the camera (thus, they don't have to be in order). The camera ID needs to match the ID that is used in make_sumfiles.txt


Example

Here is a sample TMP2FOCLEN.TXT file.

1  0  0  0
2  0  0  0
3  0  0  0
4  0  -2.3750e-4  0
5  0  -2.3750e-4  0


CategoryThreeOhOne

TMP2FOCLEN.TXT (last edited 2018-05-22 11:21:22 by EricPalmer)