public class FitsIntWriter extends Object implements WritableIntChannel
| Modifier and Type | Class and Description |
|---|---|
static interface |
FitsIntWriter.FileNamer
Interface for computing name of FITS file based on provided properties.
|
static interface |
FitsIntWriter.PerCCDMetaDataProvider
Interface for providing additional CCD specific meta-data providers
|
| Constructor and Description |
|---|
FitsIntWriter(Source source,
org.lsst.ccs.utilities.ccd.Reb reb,
Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications,
FitsIntWriter.FileNamer fileNamer,
FitsIntWriter.PerCCDMetaDataProvider extraMetaDataProvider)
Create a FitsIntWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<File> |
getFiles()
Access the list of files (to be) written by this instance.
|
boolean |
isOpen() |
void |
write(int i) |
void |
write(IntBuffer buffer) |
public FitsIntWriter(Source source, org.lsst.ccs.utilities.ccd.Reb reb, Map<String,org.lsst.ccs.utilities.image.HeaderSpecification> headerSpecifications, FitsIntWriter.FileNamer fileNamer, FitsIntWriter.PerCCDMetaDataProvider extraMetaDataProvider) throws DAQException, IOException
source - The source for which data is to be writtenreb - The corresponding REBheaderSpecifications - Fits header specificationsfileNamer - An interface for generating the names of the fits files
to writeextraMetaDataProvider - Additional per-ccd fits header meta-data
providersDAQException - If unable to obtain information about the source.IOException - If an error occurs while writing the filepublic void write(int i)
throws IOException
write in interface WritableIntChannelIOExceptionpublic void write(IntBuffer buffer) throws IOException
write in interface WritableIntChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2020 LSST. All rights reserved.