I found a bug in the Y-axis scaling. See the attached PS
> file. The Y-axis scale should go from 0. to 2.0e-11 (in
> ergs/cm**2/s/Angstrom). Instead it is zeros. Anyone having
> experience with the scaling code want to fix this?
Darren Dale posted a small fix related to ticking for exponentially
formatted data to the users list today - you may want to see if that
helps.
Otherwise, if you can send me a tarball which has a script and some
data so I can replicate the bug, I'll take a look. These bugs are
easier to fix if you have something to test against.
JDH
···
For those interested, this is a section of the far
> ultraviolet spectrum of the variable star SS Cygni (SS Cyg
> for short) taken by NASA's Far Ultraviolet Spectroscopic
> Explorer (FUSE for short).
> -- Paul
> -- Paul Barrett, PhD Space Telescope Science Institute
> Phone: 410-338-4475 ESS/Science Software Branch FAX:
> 410-338-4767 Baltimore, MD 21218
John Hunter wrote:
"Paul" == Paul Barrett <barrett@...31...> writes:
> I found a bug in the Y-axis scaling. See the attached PS
> file. The Y-axis scale should go from 0. to 2.0e-11 (in
> ergs/cm**2/s/Angstrom). Instead it is zeros. Anyone having
> experience with the scaling code want to fix this?
Darren Dale posted a small fix related to ticking for exponentially
formatted data to the users list today - you may want to see if that
helps.
No, the latest CVS still shows the bug.
Otherwise, if you can send me a tarball which has a script and some
data so I can replicate the bug, I'll take a look. These bugs are
easier to fix if you have something to test against.
Attached is the data (FITS) file and the following are the commands that I use to plot the data. You may need to download the pyfits module to access the file.
>>> import pyfits
>>> from matplotlib.matlab import *
>>> fits = pyfits.open('C05302010011alif4ttagfcal.fit')
>>> data = fits[1].data.field
>>> plot(data('wave'), data('flux'))
[<matplotlib.lines.Line2D instance at 0x40da5c4c>]
>>> show()
Thanks for taking a look at this.
-- Paul
C05302010011alif4ttagfcal.fit (435 KB)
···
--
Paul Barrett, PhD Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Branch
FAX: 410-338-4767 Baltimore, MD 21218