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 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() |
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, nom.tam.fits.FitsException
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
providersDAQExceptionIOExceptionnom.tam.fits.FitsExceptionpublic 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 © 2019 LSST. All rights reserved.