33 double constantTimeOffset = 0.0,
34 additionalPreroll = 0.0,
35 additiveLineTimeError = 0.0,
36 multiplicativeLineTimeError = 0.0;
58 QString msg =
"File does not appear to be an Apollo image";
70 additiveLineTimeError =
getDouble(ikernKey);
73 multiplicativeLineTimeError =
getDouble(ikernKey);
77 QString stime = (QString)inst[
"StartTime"];
79 str2et_c(stime.toLatin1().data(), &etStart);
80 stime = (QString) inst[
"StopTime"];
82 str2et_c(stime.toLatin1().data(), &etStop);
83 iTime isisTime( (QString) inst[
"StartTime"]);
87 double lineRate = ( (double) inst[
"LineExposureDuration"] )*0.005;
89 lineRate *= 1.0 + multiplicativeLineTimeError;
90 lineRate += additiveLineTimeError;
91 etStart += additionalPreroll * lineRate;
92 etStart += constantTimeOffset;
101 (etStart+etStop)/2.0,
102 (
double)lineRate, &lab);
115 double sampleBoreSight = 0.0;
116 double lineBoreSight = 0.0;
void SetFocalLength()
Reads the focal length from the instrument kernel.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
Parse and return pieces of a time string.
QString m_instrumentNameLong
Full instrument name.
double m_residualMean
Max interior orientation residual vector length.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
int m_CkFrameId
CK "Camera Matrix" kernel frame ID.
int toInt(const QString &string)
Global function to convert from a string to an integer.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
Generic class for Line Scan Cameras.
double m_residualStdev
Standard deviation of interior orientation residual vector length.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
double stdevResidual()
Standard deviation of interior orientation residual vector lengths, accesor.
Convert between undistorted focal plane and ground coordinates.
double maxResidual()
Max interior orientation residual vector length, accesor.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
Contains multiple PvlContainers.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
#define _FILEINFO_
Macro for the filename and line number.
A type of error that could only have occurred due to a mistake on the user's part (e...
Distort/undistort focal plane coordinates.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Container for cube-like labels.
Convert between undistorted focal plane and ra/dec coordinates.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_spacecraftNameLong
Full spacecraft name.
double meanResidual()
Mean (average) of interior orientation residual vector lengths, accesor.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
Convert between parent image (aka encoder aka machine) coordinates and detector coordinates ...
Namespace for ISIS/Bullet specific routines.
QString m_spacecraftNameShort
Shortened spacecraft name.
double m_residualMax
Mean (average) of interior orientation residual vector length.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.