CCD Photometry with Mathematica

Introduction Reduction Conversions Dates Display Image Headers Image Load Image Save Photometry

Table of Contents

CCDPhotometry`ImageSave`

This package contains functions for exporting FITS objects, including the header and data portion.

ImageSave[path, imgobj] Exports the FITS object located by the specified path.

Exporting FITS data

This loads the package

In[1]:=

Needs["CCDPhotometry`ImageSave`"]

In[2]:=

Needs["CCDPhotometry`ImageLoad`"]

Here is the command to load a FITS data file.

In[3]:=

data = ImageLoad[ToFileName["CCDPhotometry", "11080154.fit"]]

Out[3]=

⁃FITSObject⁃

Here is the command to export the above FITS object.

In[4]:=

ImageSave[ToFileName[$PreferencesDirectory, "testout.fit"], data]

Out[4]=

C:\\Documents and Settings\\jeffb\\Application Data\\Mathematica\\testout.fit

HOME


Created by Mathematica  (October 24, 2004) Valid XHTML 1.1!