[AstroPy] Re: functional interface for PyFITS?
npirzkal at eso.org
Tue Mar 22 10:59:40 CST 2005
Default should be to check if foo.fits is a valid filename, read it
if it is, otherwise read the second extension of foo.fits.
On Mar 22, 2005, at 9:30 AM, Joe Harrington wrote:
> Be careful here. How do you distinguish that from a file whose name
> is literally foo.fits? And if you do 'foo.fits', how do you
> distinguish that from the second element of a string array (bar, in
> this case): getdata(bar)
More information about the AstroPy