public class FitsUtilities extends Object
| Constructor and Description |
|---|
FitsUtilities() |
| Modifier and Type | Method and Description |
|---|---|
double |
getFluxStats(File fitsfile)
Compute the flux statistics by reading an existing FITS file
|
void |
showPhotoDiodeAnalysis(File pddatfile)
Shows the Photo Diode buffered readings analysis output without modifying
the corresponding fits file
|
void |
updatePhotoDiodeValues(File pddatfile,
File fitsfile,
String extnam,
String c1name,
String c2name,
double tstart)
Update an existing files by adding or replacing the extension HDU
containing the binary table of photo diode values.
|
public void showPhotoDiodeAnalysis(File pddatfile) throws IOException, nom.tam.fits.FitsException
pddatfile - The file containing the photo diode dataIOExceptionnom.tam.fits.FitsExceptionpublic void updatePhotoDiodeValues(File pddatfile, File fitsfile, String extnam, String c1name, String c2name, double tstart) throws IOException, nom.tam.fits.FitsException
pddatfile - The file containing the photo diode datafitsfile - The fits file to updateextnam - The extension name to add/updatec1name - The name for the first column of datac2name - The name for the second column of datatstart - The start time of the readings?IOExceptionnom.tam.fits.FitsExceptionpublic double getFluxStats(File fitsfile) throws nom.tam.fits.FitsException, IOException
fitsfile - The file to readnom.tam.fits.FitsException - If the fits file can not be readIOException - If an IO exception occursCopyright © 2019 LSST. All rights reserved.