Package astro.fits

Interface Summary
IcatSource This class describes the capability of an object to provide input file lists for the IcatPrepare class.
 

Class Summary
AmplifierCrosstalk This class is designed to measure crosstalk between amplifiers and prepare reduction files to reduce it as far as possible.
AmplifierCrosstalk.Gradient This class tries to get from real-world measurements to useful input images by subtracting a gradient in the background.
AmplifierCrosstalk.LinearRestore This class takes the fits on the command line argument and does the amplifier correction using the properties stated.
AmplifierCrosstalk.Matrix This class takes N (four for WiFSIP) single-quadrant illuminated fits files and calculates the correction matrix out of it.
AmplifierCrosstalk.MatrixFit This class tries to get from real-world measurements to corrections over the entire amplifier surface.
AmplifierCrosstalk.Restore This class takes the fits on the command line argument and does the amplifier correction using the properties stated.
AmplifierCrosstalk.Simul Test class to generate artificial illumination fits files.
Arithmetics Collection of image arithmetics.
Arithmetics.Sum Adds all fits that bucket into the first wildcard.
BiasMaster We generate a master bias from a number of at least #KEY_MINBIAS good bias observation, which have been conducted in a single block, normally during dusk or dawn.
BiasMaster.All Does all until the very first day of observation.
BiasMaster.Back We create master bias from now back for the given number of days.
BiasMaster.First We create a single master bias from the first bias block found.
Binning Class to do artificial binning.
Binning.Rebin Calls rebin.
CrosstalkDark Small class to prepare the WiFSIP crosstalk measures for further processing.
CrosstalkDark.Scalings Reads properties - normally none are sufficient - and prints the scaling factors for each quadrant and file for sanity checks.
CrosstalkDark.Subtract Creates dark-subtracted fits from the input list by scaling the two master darks to match the background estimate.
DarkMaster We generate master darks out of a dark block, normally done straight after the bias blocks (before on dawn).
DarkMaster.All Does all until the very first day of observation.
DarkMaster.First We create a single dark bias from the first dark block found.
DarkMaster.MasterDark Additionally, we record the dark current maximum plus the acheived S/N for proper decision wether dark current subtraction is feasible.
Donut This is a java transcription of the donut code, distributed as an IDL program.
FitsCheck Class for checking raw input files.
FitsCompression All fits to fitz commands requiring command-line processes.
FitsStatistic Link between a fits (image) and the statistic package.
FitsStatistic.Add Reads a list of input files, decompresses them sequentially if necessary, adds them as doubles, but saves them as floats.
FitsStatistic.AduMinMax Finds the location of the minimum and maximum.
FitsStatistic.AduSplit Tests the fits file on the command line, if its 9th bit (value 2^8=256) is always set in the third quadrant (index number 2).
FitsStatistic.Bias Does bias subtraction.
FitsStatistic.Bitstat Gets the bit-statistic for a 16-bit fits
FitsStatistic.CombinePixel From two dead/hot pixel maps, retain only pixel found in both.
FitsStatistic.Constant Multidimensional that returns one.
FitsStatistic.Coordinate Multidimensional that returns the x or y of the input vector.
FitsStatistic.Count Counts how many pixel have ADU below the given value.
FitsStatistic.DeadPixel Reads an input fits and marks all pixels above the below ADU value as dead pixels.
FitsStatistic.Flat Does flatfielding subtraction.
FitsStatistic.FlatSky Tries to re-establish the zero-point offset from the _f.fits files and put it into the corresponding _mos.fits.
FitsStatistic.HotPixel Reads an input fits and marks all pixels above the given ADU value (default 65535) as hot pixels.
FitsStatistic.Imstat IRAF imstat, without the akward extension modifier.
FitsStatistic.Line Outputs average and std-dev of the quadrants along with header card values of the fits file.
FitsStatistic.Mosaic Tries to re-establish the zero-point offset from the _f.fits files and put it into the corresponding _mos.fits.
FitsStatistic.Nomode Reads a fits file, does an independant sky reduction on all extension found and writes the final fits.
FitsStatistic.Normalize Does median normalization.
FitsStatistic.Nosky Reads a fits file, does an independant sky reduction on all extension found and writes the final fits.
FitsStatistic.RowMedian Prints the median of all rows in the specified fits image.
FitsStatistic.Square Multidimensional that returns the x or y of the input vector squared.
FitsStatistic.WeightMap From a dead and a hot pixel map, we derive a weight map, i.e.
FitsStatistic.XY Multidimensional that returns x times y
FitsTools Some tools in dealing with FITS images.
FitsTools.Binning Flip according to the second and third command line argument
FitsTools.Clip Reads the four extensions of an WiFSIP image, does clipping, flipping and tiling to produce a single output fits.
FitsTools.ClipOne Reads one extensions of an WiFSIP image, does clipping to produce a single output fits.
FitsTools.Dump Dumps the pixel values to stdout.
FitsTools.E2V Reads the two extensions of an WiFSIP/Robotel image, does clipping, flipping and tiling to produce a single output fits.
FitsTools.Flag Constructs a flag map from a weight map in a way that only values above a certain trashhold are set to 0, others to 1.
FitsTools.Flip Flip according to the second and third command line argument
FitsTools.Histogram Dumps the historgram to stdout.
FitsTools.Limit Limits an image to ADU borders.
FitsTools.Pixel Take the pixel at the given coordinates and print its value.
FitsTools.SiraitV Transformas small IRAIT V-data.
FitsTools.Size  
FitsTools.Split Splits a fits file given on the command line into its image hdu's, each image found saved to a fits file with a number indication at the end of the fits file name (extensionless).
FitsTools.Stitcher Full use control on how to stitch quadrants together.
FitsTools.Test  
FitsTools.TestFits Generates a test fits file, whose pixel value is adu=256*y+x.
FitsTools.Weight Constructs a weight map from a normalized flat in a way that all values above a certain trashhold are set to a lower threshold.
FitsTools.Wifsip Reads the four extensions of an WiFSIP image, does clipping, flipping and tiling to produce a single output fits.
FitsTools.WifsipTime We read the comment to the simple keyword, extract the creation date out of it, parse it, subtract 34 seconds from it and write this as DATE-OBS to the header again.
FlatCheck Class to do some statistical test on sky flats.
FlatCheck.FileF Reads the fits file on the command line and does a check on all quadrants.
FlatCheck.Mark Reads the unique on the command line and executes raw tests on it, writes the resulting .use file.
FlatCheck.MarkAll Excecutes raw test on all files for a specified telescope
FlatMaster We generate master flats out of a flat blocks, normally done straight after the bias blocks (before on dawn).
Gl586 Main class to do photometry on the NACO data set.
Gl586.ApertureList We test the aperture summing on a single frame, namely NACO.2005-05-02T07:45:38.296.fits with the solution vector Solved to #a1= 49.508255, #a2= 50.190617, #a3= 201389.73, #a4= 51584.39, #a5= 4.3249073, #a6= 4.0969806, #a7= 4.073819, #a8= 6.6197834
Gl586.ApertureTest We test the aperture summing on a single frame, namely NACO.2005-05-02T07:45:38.296.fits with the solution vector Solved to #a1= 49.508255, #a2= 50.190617, #a3= 201389.73, #a4= 51584.39, #a5= 4.3249073, #a6= 4.0969806, #a7= 4.073819, #a8= 6.6197834
Gl586.DiffMag Function to get the differences in the Δm in to wavelength as a function of Temperature of the main star and ΔT to the second, according to
Gl586.GlieseModel The Gliese 586Aab photometric model.
Gl586.HaloModel We also have to model the background.
HeaderCardDescriptor A helper class that bundles FITS-header cards into descriptors that can then be resolved at run-time to provide true header cards.
Headers Classes for manipulating headers of fits files.
Headers.Rotat Class to update wifsip fits file with no ROTAT keyword.
HeaderTools Deals with fits headers.
HeaderTools.HeaderAdd We add a header key to a fits file, only in first header found and always at the end of the key list (just before END).
HeaderTools.HeaderDel We delete a header key to a fits file, only in first header of the file and only if present there.
HeaderTools.HeaderDump We dump a header in the specified fits file to standard out, separated in keys values and remark.
HeaderTools.HeaderMerge Merges header of two file.
HeaderTools.HeaderTable We take a fits file in the first command line argument and extract the keys found within the coma-separated second argument.
HeaderTools.HeaderValue We delete a header key to a fits file, only in first header of the file and only if present there.
Icat Base class for icat preparation, joining, and finishing.
Icat.Compress Compresses a list of files.
Icat.Snoop Snoops into the save-file and print its content.
Icat.Uncompress Uncompresses a list of files.
IcatFinalize Last class in the chain of ICAT-preparation tools.
IcatJoin This class takes the four calibrated quadrant outputs produced by the calibration-only run of ICAT and stitches them together, flipping and flopping on the way.
IcatJoin.Post Takes a list of unique-ID's, try to locate the four-quadrant file _f.fitz, uncompresses these, joins them together and writes them to the main ICAT directory.
IcatJoin.Single Takes a single file name including extension and creates the combined fits, which is then saved on the indicated location.
IcatMaster Very simple class that prepares the reduction of wifsip science frames using the icat pipeline.
IcatMaster.Standalone Controll is done in the JVM, not in a cron job.
IcatPrepare Tool to prepare Wifsip fits for reduction with the Icat pipeline writtn by P.
IcatPrepare.Dir This class reads all fits images in the specified directory and passes them to the split method, or, if a second command line argument is present, reads the specified file for the list input.
IcatPrepare.Scan We list all science fits in a directory and pass it to the register source.
IcatPrepare.Single This class splits the input file name on the first command line argument.
IcatSearch This class supports searching the obs table for appropriate bias, flat and darks to a set of science frames.
IcatSearch.Dir We list all science fits in a directory and pass it to the register method.
Overscan Class to model an overscan region and to subtract it from an image hdu.
Overscan.Column Fits a column and prints out the row-average, stddev and the fit.
Overscan.Corner Prints the corner pixel of the overscan region in the first imagehdu
Overscan.Extract Extracts the smoothened column overscan from a wifsip image for the stated extension.
Overscan.Wifsip Subtracts a wifsip overscan.
Overscan.WifsipBias Subtracts a wifsip overscan.
Overscan.WifsipOverscan A non-linear model for fitting the exponentially glow in WiFSIP data.
ReductionMaster Base class that allows reduction of Wifsip images.
ReductionMaster.ImageBlock This class represents a block of identical type taken consecuetively during a single night on the same telescope.
ReductionMaster.ImageInfo This class contains all the relevant information gathered from the db that might be relevant in the further reduction process.
ReductionMaster.Listing We create the list of all object id's for the given night.
ReductionMaster.MasterFits This class comprises a reduced version of an calibration image block.
ShortShuffle Images taken as unsigned short, but transfered as signed short end up with a wrong image data.
ShortShuffle.Convert  
StatisticMoments Method to get statistical moments or image moments out of fits files.
StatisticMoments.CentralMoment Take the centralmoments of the given fits file and print its value.
StatisticMoments.Moment Take the moments of the given fits file and print its value.
StatisticMoments.XMoment Take the moments of the given fits file and print its value per xtension BasicHDU hdu = null; int i1 = 0; int found = 0; while ((hdu = fits.getHDU(i1++)) != null) { if (type.isInstance(hdu)) { if (ignorenull && (hdu.getData() == null || hdu.getData().getData() == null)) continue; else { if (skip <= found) return type.cast(hdu); else found ++; } } } return null;
TableTools A class to simplify fits binary table handling.
TableTools.Ascii Read the binary table and prints the columns to standard out.
TableTools.CorotChrom Corot reader for chromatic channel.
TableTools.CorotImg Corot reader for imagette channel.
TableTools.Print Read the provided fits file to first table and print out table info.
Wcs Helper packege to deduce WCS-coordinate systems out of fits headers.
Wcs.GnomicProjection  
Wcs.WcsGet Extracts a WCS.
 

Enum Summary
Arithmetics.Op  
Binning.Type  
CrosstalkDark.Scale The known possible scaling values.
FitsCheck.Failure  
FitsStatistic.Scale  
HeaderCardDescriptor.Type How the string descriptor should be converted into a value.
IcatFinalize.Products The final data products.
Overscan.Solver  
ReductionMaster.Interpolate This are the possible types of interpolation for calibration files.