58 QString stime = inst[
"SpacecraftClockStartCount"];
61 m_lineRate = 1.0 / (double)inst[
"TdiRate"];
78 QString naifXKey =
"INS-98900_DISTORTION_COEF_X";
79 QString naifYKey =
"INS-98900_DISTORTION_COEF_Y";
80 QString naifppKey =
"INS-98900_PP_OFFSET";
81 vector<double> distCoefX;
82 vector<double> distCoefY;
83 vector<double> residualColumnDistCoefs;
84 vector<double> residualRowDistCoefs;
86 for (
int i=0; i < 20; i++) {
87 distCoefX.push_back(
getDouble(naifXKey,i));
88 distCoefY.push_back(
getDouble(naifYKey,i));
93 QString naifCOLKey =
"INS" +
toString(code) +
"_RESIDUAL_COL_DIST_COEF";
94 QString naifROWKey =
"INS" +
toString(code) +
"_RESIDUAL_ROW_DIST_COEF";
96 for (
int i=0; i < 6; i++) {
97 residualColumnDistCoefs.push_back(
getDouble(naifCOLKey,i));
98 residualRowDistCoefs.push_back(
getDouble(naifROWKey,i));
102 residualRowDistCoefs);
void SetFocalLength()
Reads the focal length from the instrument kernel.
Isis::Camera * NewHorizonsMvicTdiCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a NewHorizonsMvicTdiCamera object...
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
QString m_instrumentNameLong
Full instrument name.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
Generic class for Line Scan Cameras.
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.
Convert between undistorted focal plane and ground coordinates.
Distort/undistort focal plane coordinates for New Horizons/MVIC.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Contains multiple PvlContainers.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
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.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.
QString m_spacecraftNameShort
Shortened spacecraft name.
Convert between parent image coordinates and detector coordinates.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
New Horizons Mvic Camera, Tdi mode.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.