HiRISE

HiRISE.HiPlan.HIPHOP
Class ADC_Characteristics

java.lang.Object
  extended by HiRISE.HiPlan.HIPHOP.ADC_Characteristics

public class ADC_Characteristics
extends Object

A set of data characterizing the HiRISE ADCs.

Version:
1.8
Author:
Christian Schaller - UA/PIRL

Field Summary
static String BITS_PER_PIXEL
           
static String FILENAME
          The filename for the HiRISE ADC characteristic data.
static String ID
          Class identification name with source code version and date.
static String INVERSE_GAINS
           
static String OFFSET
           
 
Constructor Summary
ADC_Characteristics()
           
ADC_Characteristics(InputStream stream)
           
ADC_Characteristics(String source)
           
 
Method Summary
 int bits_per_pixel()
           
 int inverse_gain_index(int tdi, int bin)
           
 double inverse_gain(String ccd, int channel, int tdi, int bin)
           
 double[] inverse_gains(String ccd, int channel)
           
 double offset(String ccd, int channel)
           
 String source()
           
 void source(String source)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

FILENAME

public static final String FILENAME
The filename for the HiRISE ADC characteristic data. The class loader expects to find this file in the directory named by Constants.RESOURCES_DIRECTORY.

See Also:
Constant Field Values

BITS_PER_PIXEL

public static final String BITS_PER_PIXEL
See Also:
Constant Field Values

OFFSET

public static final String OFFSET
See Also:
Constant Field Values

INVERSE_GAINS

public static final String INVERSE_GAINS
See Also:
Constant Field Values
Constructor Detail

ADC_Characteristics

public ADC_Characteristics(InputStream stream)
                    throws HIPHOP_Exception
Throws:
HIPHOP_Exception

ADC_Characteristics

public ADC_Characteristics(String source)
                    throws HIPHOP_Exception
Throws:
HIPHOP_Exception

ADC_Characteristics

public ADC_Characteristics()
                    throws HIPHOP_Exception
Throws:
HIPHOP_Exception
Method Detail

source

public String source()

source

public void source(String source)

bits_per_pixel

public int bits_per_pixel()

offset

public double offset(String ccd,
                     int channel)

inverse_gain

public double inverse_gain(String ccd,
                           int channel,
                           int tdi,
                           int bin)

inverse_gains

public double[] inverse_gains(String ccd,
                              int channel)

inverse_gain_index

public int inverse_gain_index(int tdi,
                              int bin)

toString

public String toString()
Overrides:
toString in class Object

HiRISE

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