The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 at NCTM 1994-2018. All Rights Reserved.