Public Member Functions |
| | operaEspadonsImage () |
| | operaEspadonsImage (string Filename, int mode=READWRITE) |
| | operaEspadonsImage (string Filename, edatatype Datatype, int mode=READWRITE) |
| | operaEspadonsImage (string Filename, unsigned Naxis1, unsigned Naxis2, DATASEC_t &datasec, edatatype Datatype=tushort, unsigned Compression=0) |
| | operaEspadonsImage (unsigned Naxis1, unsigned Naxis2, DATASEC_t &datasec, edatatype Datatype=tushort, unsigned Compression=0) |
| | ~operaEspadonsImage () |
| | Destructor, frees image memory and closes FITS file.
|
| unsigned short * | operaEspadonsImageCloneDatasecUSHORT () |
| | Clone a pixel datasec.
|
| float * | operaEspadonsImageCloneDatasec () |
| | Clone a pixel datasec.
|
| unsigned short | getpixelUSHORT (unsigned x, unsigned y) |
| | get a pixel value at coordinates x,y.
|
| float | getpixel (unsigned x, unsigned y) |
| void | setpixel (unsigned short value, unsigned x, unsigned y) |
| | get a pixel value at coordinates x,y.
|
| void | setpixel (float value, unsigned x, unsigned y) |
| void | operaEspadonsImageCopyHeader (operaEspadonsImage *from) |
| | Copies all of the header information from image.
|
| operaEspadonsImage * | operaEspadonsImageClone (operaEspadonsImage &imageIn) |
| | Clone an espadons Image object.
|
| operaFITSSubImage * | getDatasecSubImage () |
| | get the datasec subImage.
|
| void | operaFITSImageSetData (operaFITSSubImage &datasecSubImage) |
| | copy a subimage back in to an operaEspadonsImage datasec.
|
| unsigned | getnx () |
| | get the DATASEC array length of dimension 1.
|
| unsigned | getny () |
| | get the DATASEC array length of dimension 2.
|
| unsigned | getndpixels () |
| | get the image array number of pixels.
|
| unsigned long | getsize () |
| | Returns the image type (OBJECT, FLAT, ...).
|
| imtype_t | getimtype () |
| | Returns the image type (OBJECT, FLAT, ...).
|
| string | getimtypestring () |
| | Returns the image type (OBJECT, FLAT, ...) as a string.
|
| detector_t | getdetector () |
| | Returns te detector type (EEV1, OLAPA, ...).
|
| string | getdetectorstring () |
| | Returns te detector type (EEV1, OLAPA, ...) as a string.
|
| amplifier_t | getamplifier () |
| | Returns te amplifier type (a, ab ...).
|
| string | getamplifierstring () |
| | Returns te amplifier type (a, ab ...) as a string.
|
| instrumentmode_t | getmode () |
| | Returns the mode (sp1, sp2, pol ...).
|
| string | getmodestring () |
| | Returns the mode (sp1, sp2, pol ...) as a string.
|
| speed_t | getspeed () |
| | Returns the speed (Fast, Slow, Normal ...).
|
| string | getspeedstring () |
| | Returns the speed (Fast, Slow, Normal ...) as a string.
|
| stokes_t | getstokes () |
| | Returns the stokes parameter (U, I, Vl ...).
|
| string | getstokesstring () |
| | Returns the stokes parameter (U, I, Vl ...) as a string.
|
| polarquad_t | getpolarquad () |
| | Returns the polar quad sequence number (1,2,3,4).
|
| string | getpolarquadstring () |
| | Returns the polar quad sequence number (1,2,3,4) as a string.
|
Basic operaEspadonsImage constructor.
operaEspadonsImage(unsigned Naxis1, unsigned Naxis2, edatatype Datatype=tushort, unsigned Compression=0)
operaEspadonsImage(string Filename, unsigned Naxis1, unsigned Naxis2, DATASEC_t &datasec, edatatype Datatype, unsigned Compression)
operaEspadonsImage(string Filename, int mode=READWRITE)
Constructor for readng a FITS file and creating the corresponding object.
- Returns:
- none
(string Filename, int mode)
- Parameters:
-
| Filename | |
| mode | - READWRITE or READONLY, defaults to READWRITE |
- Exceptions:
-
- Returns:
- none
a espadons Image object from a FITS file Constructor to create a espadons Image from a FITS file.
- Parameters:
-
| Filename | |
| Datatype | - convert image to this datatype |
| mode | |
- Returns:
- void
Constructor to create a new FITS file.
- Parameters:
-
| Filename | to create (file is deleted if it exists) |
| Naxis1 | - x dimension |
| Naxis2 | - y dimension |
| datasec | - the datasec where the valid data pixels are |
| Datatype | defaults to tshort |
| Compression,defaults | to none |
- Exceptions:
-
- Returns:
- void
an in-memory espadons Image object Create an in-memory image of given dimensions.
- Parameters:
-
| Naxis1 | - x ccd dimension |
| Naxis2 | - y ccd dimension |
| datasec | DATASEC_t - espadons image datasec |
| Datatype | optional datatype defaults to tshort |
| Compression | optional compression, defaults to none |
- Returns:
- void
- Parameters:
-
- Exceptions:
-
- Returns:
- none
an in-memory espadons Image object Create an in-memory image of given dimensions.
- Parameters:
-
| Naxis1 | - x ccd dimension |
| Naxis2 | - y ccd dimension |
| Datatype | optional datatype defaults to tshort |
| Compression | optional compression, defaults to none |
- Returns:
- void