Questions tagged [fits-format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
107 views

Trouble reading FITS with Mathematica 12

I've been using Mathematica to process FITS for years, but it has changed in version 12. Import now yields an Association rather ...
  • 13.6k
2 votes
1 answer
243 views

How to fit experimental data with CDF and get the associated PDF?

folks. I have this set of data from a paper: ...
4 votes
1 answer
116 views

FITS files are importing with different values depending on version

Bug introduced in 11.3 I recently updated to 11.3 and found that my FITS files don't import the same way anymore. I've read a posts about the changes made to FITS imports and can deal with that fine ...
  • 43
2 votes
2 answers
225 views

View header information of FITS file

I'm dealing with .fits (.fit) files with Mathematica, and these files are Fermi LAT GRBs data. We can import one of them by ...
  • 473
2 votes
2 answers
663 views

Fitting multidimensional data

Suppose i have some function G[n_,B_,d_] = .... to fit this function i need to collect the data first. However at first i dont understand how to format the data ...
  • 113
1 vote
0 answers
105 views

Importing FITS files with Mathematica 11.3, bug?

With Mathematica 11.2 I could import this FITS file without problems in about 20-30 seconds using: Import["filename.fits.gz", "TableData"] With Mathematica 11.3 ...
  • 1,952
1 vote
0 answers
388 views

Accessing table extension in FITS file

I have a FITS file here that has no image but simply has a binary table in its extension. I have tried using Import["file","Tabledata"] but it returns an empty ...
  • 135
2 votes
0 answers
154 views

FITS metadata problem

Looks to me that the FITS Export is borged. Here is the problem: When I export out images with accustom metadata into a FITS file, Mathematica truncates and overwrites it. Here is the metadata I ...
7 votes
2 answers
1k views

Combining three R, G, B matrices into a single matrix of 3-tuples?

Working with Mathematica 8 on OSX here. I have three $1024 \times 1024$ matrices representing the counts from consecutive exposures onto a CCD with $R$, $G$, and $B$ filters on it, and am looking to ...
  • 73
11 votes
4 answers
1k views

Exporting data extensions in fits file

Context In Astronomy the de facto standard for images and data is FITS. I would like to export heterogenous data sets into a single fits file. Attempt I am ...
  • 22k