|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.util.FlatFinder
public class FlatFinder
The flat finder reads in a star catalog and prints out the remaining stellar pointings that have no entry within the quoted field-of-view. For an Rmag star, the incident flux on the detector for a tracking telescope is
ADU=2.424e6*(D/1m)^2*eff*1/gain*(px/fwhm)^2*t*10^(-.4*(R-10)),while for a telescope at rest
ADU= 1.188e3*(D/1m)^2*eff*1/gain*eff*10^(-.4*(R-10)),thus much lower, unless the pixel scale is comparable to the earth rotational velocity of 15arcsec/sec. Note that the drift-ADU do not depend on seeing or pixel scale, as it is always a integration along the -inf +inf axis of a 1-d gauss (the exposure time is always much longer compared to fwhm/v_earth, so we always get the full photon flux in one axis, is the seeing is very good, we get it faster).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static double |
DEFDESTEP
Default de-step width. |
private static double |
DEFFOV
Default field-of-view. |
private static double |
DEFHIGHDE
Default high-de. |
private static double |
DEFLOWDE
Default low-de. |
private static double |
DEFRASTEP
Default ra step width. |
private int[][] |
field
The array with possible pointings. |
static String |
KEY_DESTEP
The step-width in de, degrees. |
static String |
KEY_FOV
The field-of-view in degrees, plain multiple of de-step. |
static String |
KEY_HIGHDE
The higher-limit in declination to search. |
static String |
KEY_LOWDE
The lower-limit in declination to search. |
static String |
KEY_RASTEP
The step-width in ra, degrees. |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
FlatFinder(Map<String,String> prop)
Constructs a new Flat finder grid. |
|
| Method Summary | |
|---|---|
private void |
addOne(double ralow,
double rahigh,
int de)
We use the low and high ra plus the index in de to add 1 in all affected fields. |
void |
applyCatalog(List<StarDescription> cat)
Applis the star catalog. |
private List<Vector2D> |
getUnaffectedField()
Returns the Ra,De vectros of all unaffected fields. |
static void |
main(String[] arg)
We apply the serialized catalog in the first field to the sky grid in the second. |
private int |
unaffected()
Counts the unaffected fields. |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
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, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, 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, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
public static final String KEY_LOWDE
public static final String KEY_HIGHDE
public static final String KEY_RASTEP
public static final String KEY_DESTEP
public static final String KEY_FOV
private static final double DEFLOWDE
private static final double DEFHIGHDE
private static final double DEFRASTEP
private static final double DEFDESTEP
private static final double DEFFOV
private int[][] field
| Constructor Detail |
|---|
public FlatFinder(Map<String,String> prop)
| Method Detail |
|---|
public void applyCatalog(List<StarDescription> cat)
private void addOne(double ralow,
double rahigh,
int de)
private int unaffected()
private List<Vector2D> getUnaffectedField()
public static void main(String[] arg)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||