Action #1986

Add FITS image type conversion constructors

Added by Knödlseder Jürgen almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:04/04/2017
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

90%

Category:-
Target version:1.3.0
Duration:

Description

Type conversion constructors should be added so that for example a double precision image can be transformed into a single precision image.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 7 years ago

  • Status changed from New to In Progress

I added a generic GFitsImage type conversion constructor that constructs a FITS image of a given type from any FITS image type. The constructor uses the pixel() access operator that internally converts any FITS image into a double precision floating point value.

Note that the constructor does not perform any checking of the validity range of the pixel values.

#2 Updated by Knödlseder Jürgen almost 7 years ago

  • % Done changed from 0 to 90

#3 Updated by Knödlseder Jürgen almost 7 years ago

  • Status changed from In Progress to Closed

Merged into devel.

Also available in: Atom PDF