public class FitsWriterFactory extends Object implements GuiderListener
| Modifier and Type | Class and Description |
|---|---|
static class |
FitsWriterFactory.FitsWriter |
| Constructor and Description |
|---|
FitsWriterFactory(String partition,
FitsIntWriter.FileNamer fileNamer,
Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications) |
FitsWriterFactory(String partition,
FitsIntWriter.FileNamer fileNamer,
Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications,
boolean includeRawStamp) |
| Modifier and Type | Method and Description |
|---|---|
protected FitsWriterFactory.FitsWriter |
createFitsFileWriter(StateMetaData state,
SeriesMetaData series,
String partition,
FitsIntWriter.FileNamer fileNamer,
Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications) |
void |
pause(StateMetaData state) |
void |
rawStamp(StateMetaData state,
ByteBuffer rawStamp)
Called each time there is a new postage stamp
|
void |
resume(StateMetaData state) |
void |
stamp(StateMetaData state,
ByteBuffer stamp)
Called each time there is a single postage stamp
|
void |
start(StateMetaData state,
SeriesMetaData series)
Guider is started
|
void |
stop(StateMetaData state) |
public FitsWriterFactory(String partition, FitsIntWriter.FileNamer fileNamer, Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications)
public FitsWriterFactory(String partition, FitsIntWriter.FileNamer fileNamer, Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications, boolean includeRawStamp)
protected FitsWriterFactory.FitsWriter createFitsFileWriter(StateMetaData state, SeriesMetaData series, String partition, FitsIntWriter.FileNamer fileNamer, Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications) throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsExceptionpublic void start(StateMetaData state, SeriesMetaData series) throws IOException, nom.tam.fits.FitsException
GuiderListenerstart in interface GuiderListenerstate - The meta-data at start timeseries - The meta-data corresponding to the series of postage
stampsIOExceptionnom.tam.fits.FitsExceptionpublic void stop(StateMetaData state) throws IOException, nom.tam.fits.FitsException
stop in interface GuiderListenerIOExceptionnom.tam.fits.FitsExceptionpublic void pause(StateMetaData state)
pause in interface GuiderListenerpublic void resume(StateMetaData state)
resume in interface GuiderListenerpublic void stamp(StateMetaData state, ByteBuffer stamp) throws nom.tam.fits.FitsException, IOException
GuiderListenerstamp in interface GuiderListenerstate - The current state, including the timestamp of the stampstamp - The data corresponding to the stamp (in what format??)nom.tam.fits.FitsExceptionIOExceptionpublic void rawStamp(StateMetaData state, ByteBuffer rawStamp) throws nom.tam.fits.FitsException, IOException
GuiderListenerrawStamp in interface GuiderListenerstate - The current state, including the timestamp of the stamprawStamp - The data corresponding the the raw postage stamp.nom.tam.fits.FitsExceptionIOExceptionCopyright © 2023 LSST. All rights reserved.