9#include "NewHorizonsLeisaCamera.h"
15#include "NaifStatus.h"
17#include "LineScanCameraGroundMap.h"
18#include "LineScanCameraSkyMap.h"
19#include "CameraFocalPlaneMap.h"
20#include "LineScanCameraDetectorMap.h"
53 QString expDuration = inst[
"ExposureDuration"];
55 QString stime = inst[
"SpacecraftClockStartCount"];
59 double m_lineRate = expDuration.toDouble();
68 focalMap->SetDetectorOrigin(128.5, 128.5);
93 for (
int i = 0; i < orgBand.size(); i++) {
121 QString msg = QObject::tr(
"Band number out of array bounds in NewHorizonsLeisaCamera::SetBand "
122 "legal bands are [1-%1], input was [%2]").
132 QVector<double> temp;
Distort/undistort focal plane coordinates.
Convert between distorted focal plane and detector coordinates.
void SetTransS(const QVector< double > transS)
Set the affine coefficients for converting destorted (x,y) to a detector Sample.
void SetTransL(const QVector< double > transL)
Set the affine coefficients for converting destorted (x,y) to a detector Line.
void SetTransX(const QVector< double > transX)
Set the affine coefficients for converting detector (sample,line) to a distorted X.
void SetTransY(const QVector< double > transY)
Set the affine coefficients for converting detector (sample,line) to a distorted Y.
QString m_spacecraftNameLong
Full spacecraft name.
void SetFocalLength()
Reads the focal length from the instrument kernel.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_instrumentNameShort
Shortened instrument name.
QString m_spacecraftNameShort
Shortened spacecraft name.
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
virtual void SetBand(const int band)
Virtual method that sets the band number.
QString m_instrumentNameLong
Full instrument name.
IO Handler for Isis Cubes.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
@ Programmer
This error is for when a programmer made an API call that was illegal.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
Generic class for Line Scan Cameras.
Convert between undistorted focal plane and ra/dec coordinates.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
This is the camera model for LEISA, New Hoirzon's infrared Spectrometer.
QVector< double > m_origTransl
The original transl affine coefficients from the iak.
NewHorizonsLeisaCamera(Cube &cube)
Create a NewHorizonsLeisaCamera object.
QVector< double > m_origTranss
The original transs affine coefficients from the iak.
void SetBand(const int vband)
Change the New Horizons camera parameters based on the band number.
QVector< int > m_originalBand
Stores the band bin OriginalBand keyword values.
QVector< double > m_origTransy
The original transy affine coefficients from the iak.
QVector< double > m_origTransx
The original transx affine coefficients from the iak.
Contains multiple PvlContainers.
Container for cube-like labels.
A single keyword-value pair.
@ Traverse
Search child objects.
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
This is free and unencumbered software released into the public domain.
int toInt(const QString &string)
Global function to convert from a string to an integer.
Namespace for the standard library.