|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectastro.fits.ReductionMaster.ImageBlock
public static class ReductionMaster.ImageBlock
This class represents a block of identical type taken consecuetively during a single night on the same telescope.
| Field Summary | |
|---|---|
private Number |
derotator
The derotator offset, if blocking criterium (flats). |
private String |
filter
The color filter, if blocking criterium (flat, science). |
private Date |
first
The first date as found in the first image in the block. |
private String |
id
The unique id of the block, equal to fitst unique of fits. |
private Date |
last
The last date as found in the first image in the block. |
private SortedMap<String,ReductionMaster.ImageInfo> |
objid
The sorted list of object ids. |
private String |
telescope
The telescope name. |
private ObserveSql.Types |
type
The type of block. |
| Constructor Summary | |
|---|---|
private |
ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to)
Constructs a new image block. |
private |
ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to,
String filt)
Constructs a new image block. |
private |
ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to,
String filt,
Number derot)
Constructs a new image block. |
| Method Summary | |
|---|---|
int |
compareTo(ReductionMaster.ImageBlock that)
Order is to first image in list. |
boolean |
equals(Object th)
Two image blocks are equal if they are drawn from the same telescope, have the same image type, are identical in begin and end and have the same number of ids. |
Number |
getDerotator()
Returns the derotator, if a blocking criterium, otherwise null. |
long |
getDuration()
Returns the duration of this block in ms. |
Date |
getEnd()
Returns the end time of the block, excluding exposure time of last frame. |
String |
getFilter()
Returns the filter, if a blocking criterium, otherwise null. |
ReductionMaster.ImageInfo |
getInfo(String id)
Returns the image info to the stated unique. |
Date |
getStart()
Returns the beginning time of the block. |
String |
getTelescope()
Returns the telescope. |
ObserveSql.Types |
getType()
Returns the type |
String |
getUnique()
Returns the unique id of this block. |
List<String> |
getUniqueList()
Returns all object-ids in this block in natural order. |
int |
hashCode()
The hash code is the hash code of the first date. |
int |
size()
Number of image infos in this block. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String id
private ObserveSql.Types type
private String telescope
private transient SortedMap<String,ReductionMaster.ImageInfo> objid
private Date first
private Date last
private String filter
private Number derotator
| Constructor Detail |
|---|
private ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to)
private ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to,
String filt)
private ReductionMaster.ImageBlock(ObserveSql.Types typ,
String tel,
SortedMap<String,ReductionMaster.ImageInfo> obj,
Date from,
Date to,
String filt,
Number derot)
| Method Detail |
|---|
public String getUnique()
public ObserveSql.Types getType()
public String getTelescope()
public List<String> getUniqueList()
public int size()
public ReductionMaster.ImageInfo getInfo(String id)
public Date getStart()
public Date getEnd()
public long getDuration()
public String getFilter()
public Number getDerotator()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object th)
equals in class Objectpublic int compareTo(ReductionMaster.ImageBlock that)
compareTo in interface Comparable<ReductionMaster.ImageBlock>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||