private class StellaGuider.ReduceThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private String |
biasname
On moving frames, the bias fits name.
|
private int |
binx
The binning used in x-direction.
|
private int |
biny
The binning used in x-direction.
|
private long |
btime
The bias time.
|
private boolean |
cancel
Gets true if we should cancel.
|
private Point |
corner
On moving frames, the upper-left corner shifts.
|
private String |
darkname
On moving frames, the dark fits name.
|
private int |
datamax
The integer value of a maximum detection.
|
private int |
datamin
The integer value of a minimum detection.
|
private long |
dtime
The dark time.
|
private float |
gaussfwhm
The fwhm of the gauss that should be used on star detect.
|
private float |
gausstrunc
The truncation of the gaussian used on star detect.
|
private PostReducing |
loop
If we have an active post-reducer, i.e.
|
private StellaGuider.ExposeThread |
retrieve
The exposure thread that has the fits file.
|
private int |
search
The unbinned radius of the search box.
|
private List<Guiding.RawStar> |
stars
The list is update on each successful reduce.
|
private int |
steps
The mask of reduction step-fits files to write.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
ReduceThread(float fwhm,
float trunc,
int min,
int max,
int box,
int what)
Constructs a new reduce thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Sets the cancel flag.
|
protected List<Guiding.RawStar> |
getRecentlyFound()
Returns the list of stars recently found.
|
void |
run()
On run, we ask the exposure thread to deliver the last fits file.
|
protected void |
setBias(File bias,
long time)
Sets the bias frame and bias integration time by the exposure thread.
|
protected void |
setBinning(Dimension bin)
Set the binning to use.
|
protected void |
setDark(File dark,
long time)
Sets the dark frame and dark integration time by the exposure thread.
|
protected void |
setExposeThread(StellaGuider.ExposeThread fechi)
Sets the coresponding exposure thread.
|
protected void |
setPostReducer(PostReducing guiderloop)
Sets a post-reducer interface.
|
protected void |
setStart(Point upleft)
Sets the upper left corner of the ccd image read by the exposure
thread.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprivate int binx
private int biny
private final float gaussfwhm
private final float gausstrunc
private final int datamin
private final int datamax
private final int search
private final int steps
private Point corner
private String biasname
private long btime
private String darkname
private long dtime
private StellaGuider.ExposeThread retrieve
private List<Guiding.RawStar> stars
private boolean cancel
private PostReducing loop
protected ReduceThread(float fwhm,
float trunc,
int min,
int max,
int box,
int what)
protected void setPostReducer(PostReducing guiderloop)
protected void setExposeThread(StellaGuider.ExposeThread fechi)
protected void setBinning(Dimension bin)
protected void setStart(Point upleft)
protected void setBias(File bias, long time)
protected void setDark(File dark, long time)
public void run()
protected List<Guiding.RawStar> getRecentlyFound()
public void cancel()