HiRISE

HiRISE.HiReport.product
Class PhotStatsNode

java.lang.Object
  extended by HiRISE.HiReport.product.ObservationNode
      extended by HiRISE.HiReport.product.PhotStatsNode

public class PhotStatsNode
extends ObservationNode

Holds photometry statistics for a single observation.


Field Summary
 
Fields inherited from class HiRISE.HiReport.product.ObservationNode
acquired, ccdset, cycle, id, predicted, related, status, stereo, suggestion, tagnames, tags, target, theme, thumb, title
 
Constructor Summary
PhotStatsNode(String id, String status, String title)
          Create a new node for a particular observation
 
Method Summary
 void add(EdrInfo edr)
          Add the info for a particular EDR
 float getAlbedo()
          Get the albedo
 float getEmissionAngle()
          Get the emission angle
 float getFpaTemp()
          Get the FPA Temp
 float getFpeTemp()
          Get the FPE Temp
 boolean getFrostOrIce()
          Get the frost found value
 float getIncidenceAngle()
          Get the incidence angle
 float getLatitude()
          Get the latitude
 float getLineTime()
          Get the line time (scan exposure duration)
 float getLongitude()
          Get the longitude (0-360 East)
 float getPhaseAngle()
          Get the phase angle
 Map<String,PhotStats> getPhotStats()
          Get the collected photometric statistics (by filter and binning)
 float getRollAngle()
          Get the roll angle (planned)
 float getSetupDuration()
          Get the setup duration
 float getSolarDistance()
          Get the solar distance
 float getSolarLongitude()
          Get the solar longitude
 int getSurfaceType()
          Get the surface type value
 Integer getVersion(HiProduct edr)
          Get the version that has been collected for an EDR.
 void setAlbedo(float albedo)
          Set the albedo value
 void setEmissionAngle(float emissionAngle)
          Set the emission angle
 void setFpaTemp(float fpaTemp)
          Set the FPA Temp
 void setFpeTemp(float fpeTemp)
          Set the FPE Temp
 void setFrostOrIce(boolean frostOrIce)
          Set true if frost or ice detected
 void setIncidenceAngle(float incidenceAngle)
          Set the incidence angle
 void setLatitude(float latitude)
          Set the latitude
 void setLineTime(float lineTime)
          Set the line time (scan exposure duration)
 void setLongitude(float longitude)
          Set the longitude (0-360 East)
 void setPhaseAngle(float phaseAngle)
          Set the phase angle
 void setRollAngle(float rollAngle)
          Set the roll angle (planned)
 void setSetupDuration(float setupDuration)
          Set the setup duration
 void setSolarDistance(float solarDistance)
          Set the solar distance
 void setSolarLongitude(float solarLongitude)
          Set the solar longitude
 void setSurfaceType(int surfaceType)
          Get the surface type value
 void update()
          Call this method to collect the stats after all the EDRs have been added.
 
Methods inherited from class HiRISE.HiReport.product.ObservationNode
addRelatedId, addTag, cycle, equals, getAcquiredTime, getCommandedCcdSet, getCycle, getDerivable, getId, getPredictedTime, getProductable, getRelated, getRelatedCount, getStatus, getSuggestion, getTarget, getTheme, getThumb, getTitle, hashCode, isStereo, setSuggestion, setThumb, setTiming, status, stereo, target, theme, title
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhotStatsNode

public PhotStatsNode(String id,
                     String status,
                     String title)
Create a new node for a particular observation

Parameters:
id - observation
status - status value
title - STL description
target - e.g. MARS
Method Detail

update

public void update()
Call this method to collect the stats after all the EDRs have been added.


getPhotStats

public Map<String,PhotStats> getPhotStats()
Get the collected photometric statistics (by filter and binning)

Returns:
map from filter and binning to data value object

add

public void add(EdrInfo edr)
Add the info for a particular EDR

Parameters:
edr - info

getVersion

public Integer getVersion(HiProduct edr)
Get the version that has been collected for an EDR.

Parameters:
edr - The EDR ID
Returns:
version or null if the EDR was not added

setLatitude

public void setLatitude(float latitude)
Set the latitude

Parameters:
latitude - degrees

getLatitude

public float getLatitude()
Get the latitude

Returns:
degrees

setLongitude

public void setLongitude(float longitude)
Set the longitude (0-360 East)

Parameters:
longitude - degrees

setFrostOrIce

public void setFrostOrIce(boolean frostOrIce)
Set true if frost or ice detected

Parameters:
frostOrIce -

getFrostOrIce

public boolean getFrostOrIce()
Get the frost found value

Returns:
true if frost or ice detected

setLineTime

public void setLineTime(float lineTime)
Set the line time (scan exposure duration)

Parameters:
lineTime - ms

getLineTime

public float getLineTime()
Get the line time (scan exposure duration)

Returns:
ms

setSetupDuration

public void setSetupDuration(float setupDuration)
Set the setup duration

Parameters:
setupDuration - seconds

getSetupDuration

public float getSetupDuration()
Get the setup duration

Returns:
seconds

setSurfaceType

public void setSurfaceType(int surfaceType)
Get the surface type value

Parameters:
surfaceType - from HiPhoP

getSurfaceType

public int getSurfaceType()
Get the surface type value

Returns:
units unknown

setSolarDistance

public void setSolarDistance(float solarDistance)
Set the solar distance

Parameters:
solarDistance - AU

getSolarDistance

public float getSolarDistance()
Get the solar distance

Returns:
AU

setSolarLongitude

public void setSolarLongitude(float solarLongitude)
Set the solar longitude

Parameters:
solarLongitude - degrees

getSolarLongitude

public float getSolarLongitude()
Get the solar longitude

Returns:
degrees

getLongitude

public float getLongitude()
Get the longitude (0-360 East)

Returns:
degrees

setFpeTemp

public void setFpeTemp(float fpeTemp)
Set the FPE Temp

Parameters:
fpeTemp - celcius

getFpeTemp

public float getFpeTemp()
Get the FPE Temp

Returns:
celcius

setFpaTemp

public void setFpaTemp(float fpaTemp)
Set the FPA Temp

Parameters:
fpaTemp - celcius

getFpaTemp

public float getFpaTemp()
Get the FPA Temp

Returns:
celcius

setRollAngle

public void setRollAngle(float rollAngle)
Set the roll angle (planned)

Parameters:
rollAngle - degrees

getRollAngle

public float getRollAngle()
Get the roll angle (planned)

Returns:
degrees

setEmissionAngle

public void setEmissionAngle(float emissionAngle)
Set the emission angle

Parameters:
emissionAngle - degrees

getEmissionAngle

public float getEmissionAngle()
Get the emission angle

Returns:
degrees

setIncidenceAngle

public void setIncidenceAngle(float incidenceAngle)
Set the incidence angle

Parameters:
incidenceAngle - degrees

getIncidenceAngle

public float getIncidenceAngle()
Get the incidence angle

Returns:
degrees

setPhaseAngle

public void setPhaseAngle(float phaseAngle)
Set the phase angle

Parameters:
phaseAngle - degrees

getPhaseAngle

public float getPhaseAngle()
Get the phase angle

Returns:
degrees

setAlbedo

public void setAlbedo(float albedo)
Set the albedo value

Parameters:
albedo - 0-1

getAlbedo

public float getAlbedo()
Get the albedo

Returns:
value

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona