[Kst] [Bug 120747] Kst should properly display fits images with reversed axes.

Ted Kisner tskisner.public at gmail.com
Wed May 3 18:13:33 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=120747         




------- Additional Comments From tskisner.public gmail com  2006-05-03 18:13 -------
Just FYI, I have plans to combine the current LFIIO and fitsimage datasources 
into a single data source which can return both columns of tables and images 
from all extensions in the file.  Will not get to this for a couple weeks 
though...

| ------- If a FITS file is used to encode something like a spectrum then the
| x-axis values can be given in the form:
|
| f(i) = CRVAL1 + (i-CRPIX1)*CDELT1

So are the "i" values stored in a table column?  Or are they simply the row 
number of the table?  Imagine we have a FITS file with a primary image and 
then 2 extra table extensions.  I could imagine having the datasource provide 
a fieldlist like this:

INDEX
EXT 1 Pixel Index
EXT 1 Pixel Value
EXT 2 Row Number
EXT 2 Column 1
EXT 2 Column 2
EXT 3 Row Number
EXT 3 Column 1

and a matrixlist like this:

EXT 1 Image
EXT 2 Table as Image
EXT 3 Table as Image

would this address your problem?  A user could then select the row index for 
that table as the X vector, and a table column as the Y vector.

-Ted


More information about the Kst mailing list