Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13598 > unrolled thread

FITS and Confusions: Export vs Import

Started byFrank Iannarilli <frankeye@cox.net>
First post2013-02-25 07:19 +0000
Last post2013-02-25 07:19 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  FITS and Confusions: Export vs Import Frank Iannarilli <frankeye@cox.net> - 2013-02-25 07:19 +0000

#13598 — FITS and Confusions: Export vs Import

FromFrank Iannarilli <frankeye@cox.net>
Date2013-02-25 07:19 +0000
SubjectFITS and Confusions: Export vs Import
Message-ID<kgf39f$mil$1@smc.vnet.net>
This is for Mathematica 9.

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

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

  Export["file.fits",{"Data"->data},"Rules"]


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!  


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web