public class Efficiency extends AbstractFitsValue implements ParameterDepending, Reloadable
AbstractFitsValue.KEY_WINDOW,
determines the total flux there and relates it to the incident flux of the
star on top of the atmosphere.
The flux is determined in the following way:
KEY_GAIN
and devide by exposure time. A quantum efficiency of 100% means this is also
the photon flux.KEY_ANGSTROMPIXEL.KEY_R0FLUX 10^-0.4*R_mag[photons/sec/A].PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFANGSTROMPIXEL
Default Angstrom per pixel at window.
|
private static double |
DEFGAIN
Default gain.
|
private static double |
DEFHIGHSIGNAL |
static String |
DEFNAME
Name of this parameter.
|
private static double |
DEFR0FLUX
Photon flux per Angstrom around 6500, for 1.2m telescope.
|
private static double |
DEFREADNOISE
Default readnoise.
|
static String |
KEY_ANGSTROMPIXEL
Angstrom per pixel at the center of the extracted region.
|
static String |
KEY_GAIN
Gain of the SES CCD.
|
static String |
KEY_HIGHSIGNAL
Multiplier to get from statistic sigma to upper-limit bound.
|
static String |
KEY_R0FLUX
Photon flux of R=0.0 star for STELLA M1 size above atmosphere.
|
static String |
KEY_READNOISE
Estimate of the read-noise of the CCD, just for histogram bins.
|
static String |
KEY_RMAG
Name of the rmag parameter.
|
private Value |
rmag
The rmag of the target, set remotely.
|
KEY_EXTENSION, KEY_WINDOWDEFBIND, KEY_BINDKEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
Efficiency(Map<String,String> prop)
Constructs a new efficiency measuring tool.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Double |
estimateEfficiency(List<Double> adus,
double exptime,
float rmag)
Provide a fits file, an exposure time in seconds and an R-magnitude of
the object and determine the fraction of photons detected.
|
Number |
getValue()
Returns the efficiency measure as a Double value.
|
void |
registerParameter(Parameter what)
Registers the RMag of the target to this parameter.
|
double |
rescanned(String key,
String old,
String newval)
As any parameter depending instance we fail if the parameter we depend on
is now a different one.
|
Number |
setValue(Number val)
Sets the efficiency, which is a read-only variable, therefore this method
throws an UnsupportedOperationException.
|
get, getAdus, getMode, getSigmaFromLow, getSignal, getWindow, processMFitsaddRmiListener, getDateObs, getExposureTime, getRegistered, registerMFits, registerMonitor, removeRmiListener, rmiDateObs, rmiExposureTime, rmiRegistered, set, setDateObs, setExposureTime, setRegisteredbindToRegistry, exit, init, isValid, remoteGet, unbindFromRegistrycreateParameter, delivers, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreloadgetFormatted, getName, getString, setdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiesinitremoteGetbindToRegistry, isValid, unbindFromRegistrypublic static final String KEY_GAIN
public static final String KEY_READNOISE
public static final String KEY_ANGSTROMPIXEL
public static final String KEY_R0FLUX
public static final String KEY_RMAG
public static final String KEY_HIGHSIGNAL
public static final String DEFNAME
private static final double DEFGAIN
private static final double DEFREADNOISE
private static final double DEFANGSTROMPIXEL
private static final double DEFR0FLUX
private static final double DEFHIGHSIGNAL
private Value rmag
public Efficiency(Map<String,String> prop)
estimateEfficiency(java.util.List<java.lang.Double>, double, float) retrieve the value.public double rescanned(String key, String old, String newval)
rescanned in interface Reloadablerescanned in class AbstractFitsValuepublic void registerParameter(Parameter what)
registerParameter in interface ParameterDependingpublic Number getValue()
public Number setValue(Number val) throws UnsupportedOperationException
setValue in interface ValuesetValue in class AbstractFitsValueUnsupportedOperationExceptionDouble estimateEfficiency(List<Double> adus, double exptime, float rmag)
adus - ADU count statistic from a representative SES areaexptime - Exposure time in seconds.rmag - Magnitude of star in R band.