MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

FITS and Confusions: Export vs Import

  • To: mathgroup at
  • Subject: [mg129906] FITS and Confusions: Export vs Import
  • From: Frank Iannarilli <frankeye at>
  • Date: Mon, 25 Feb 2013 02:19:58 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

This is for Mathematica 9.

(* !!  Export[] "Data", Import "RawData" !!   *)

If one tries to Export[] "RawData" it complains. So one needs to:


But Import[]ing "Data" yields an array scaled from 0-1. So to get back the arbitrary floating point array that one Export[]ed, one needs to:

  Import["file.fits", "RawData"]

Weird asymmetry!  

  • Prev by Date: i^2=1
  • Next by Date: Re: Hold & Evaluate
  • Previous by thread: Re: i^2=1
  • Next by thread: Real and Imaginary Parts of complex functions