67 int sumMode = (int) inst[
"SummingMode"];
68 int summing = sumMode;
84 double bsSample =
getDouble(
"INS" + juno +
"_BORESIGHT_SAMPLE");
85 double bsLine =
getDouble(
"INS" + juno +
"_BORESIGHT_LINE");
90 QString filterIkCode = bandBin.
findKeyword(
"NaifIkCode")[0];
102 QString startClockCount = inst[
"SpacecraftClockStartCount"];
104 double frameNumber = (double) inst[
"FrameNumber"];
105 double interFrameDelay = (double) inst[
"InterFrameDelay"];
106 double exposureDur = ((double) inst[
"ExposureDuration"]) / 1000.0;
109 double startTimeBias =
getDouble(
"INS" + juno +
"_START_TIME_BIAS");
110 double interFrameDelayBias =
getDouble(
"INS" + juno +
"_INTERFRAME_DELTA");
113 double frameStartEt = observationStartEt + startTimeBias + (frameNumber - 1)
114 * (interFrameDelay + interFrameDelayBias);
116 setTime(frameStartEt + exposureDur / 2.0);
148 double exposureDuration) {
void SetFocalLength()
Reads the focal length from the instrument kernel.
virtual int SpkReferenceId() const
Retrieves the J2000 SPK Reference ID for the JunoCam instrument.
virtual int SpkTargetId() const
Retrieves the SPK Target Body ID for the JunoCam instrument.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
QString m_instrumentNameLong
Full instrument name.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients for JunoCam.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
virtual int CkFrameId() const
Retrieves the CK frame ID for the JunoCam instrument.
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.
~JunoCamera()
Destroys the JunoCamera object.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
void SetStartingDetectorLine(const double line)
Set the starting detector line.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
Convert between parent image coordinates and detector coordinates.
void SetFrame(int frameCode)
Change the frame to the given frame code.
Convert between undistorted focal plane and ground coordinates.
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.
iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Distort/undistort focal plane coordinates for Juno's JunoCam camera.
Container for cube-like labels.
void LoadCache()
This loads the spice cache big enough for this image.
PvlKeyword & findKeyword(const QString &name)
Find a keyword with a specified name.
QString m_spacecraftNameLong
Full spacecraft name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Isis::Camera * JunoCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a JunoCamera object.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.
Juno's JNC (JunoCam) camera model.
SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
virtual int CkReferenceId() const
Retrieves the J2000 CK Reference ID for the JunoCam instrument.
Generic class for Framing Cameras.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions...