Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: FITS and Confusions: Export vs Import
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Frank Iannarilli

Posts: 106
Registered: 12/13/04
FITS and Confusions: Export vs Import
Posted: Feb 25, 2013 2:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.