65 QString expDuration = inst[
"ExposureDuration"];
67 QString stime = inst[
"SpacecraftClockStartCount"];
71 double m_lineRate = expDuration.toDouble();
104 PvlKeyword &orgBand = bandBin[
"OriginalBand"];
105 for (
int i = 0; i < orgBand.
size(); i++) {
133 QString msg = QObject::tr(
"Band number out of array bounds in NewHorizonsLeisaCamera::SetBand " 134 "legal bands are [1-%1], input was [%2]").
Isis::Camera * NewHorizonsLeisaCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a NewHorizonsLeisaCamera object...
void SetFocalLength()
Reads the focal length from the instrument kernel.
const double * TransX() const
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
void SetTransY(const QVector< double > transY)
Set the affine coefficients for converting detector (sample,line) to a distorted Y.
void SetBand(const int vband)
Change the New Horizons camera parameters based on the band number.
QVector< double > m_origTransy
The original transy affine coefficients from the iak.
QString m_instrumentNameLong
Full instrument name.
void SetTransL(const QVector< double > transL)
Set the affine coefficients for converting destorted (x,y) to a detector Line.
int toInt(const QString &string)
Global function to convert from a string to an integer.
QVector< double > m_origTranss
The original transs affine coefficients from the iak.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
Generic class for Line Scan Cameras.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
This error is for when a programmer made an API call that was illegal.
const double * TransS() const
Convert between undistorted focal plane and ground coordinates.
int size() const
Returns the number of values stored in this keyword.
Convert between distorted focal plane and detector coordinates.
void SetTransX(const QVector< double > transX)
Set the affine coefficients for converting detector (sample,line) to a distorted X.
QString m_instrumentNameShort
Shortened instrument name.
This is the camera model for LEISA, New Hoirzon's infrared Spectrometer.
Contains multiple PvlContainers.
QVector< double > m_origTransl
The original transl affine coefficients from the iak.
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.
void SetTransS(const QVector< double > transS)
Set the affine coefficients for converting destorted (x,y) to a detector Sample.
A single keyword-value pair.
iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
Distort/undistort focal plane coordinates.
Container for cube-like labels.
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
const double * TransL() const
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.
QVector< int > m_originalBand
Stores the band bin OriginalBand keyword values.
QVector< double > m_origTransx
The original transx affine coefficients from the iak.
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.
const double * TransY() const
Convert between parent image coordinates and detector coordinates.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
virtual void SetBand(const int band)
Virtual method that sets the band number.
IO Handler for Isis Cubes.