Action #1986
Add FITS image type conversion constructors
| Status: | Closed | Start date: | 04/04/2017 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assigned To: | % 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 about 9 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 about 9 years ago
- % Done changed from 0 to 90
#3
Updated by Knödlseder Jürgen about 9 years ago
- Status changed from In Progress to Closed
Merged into devel.