All Projects → JuliaAstro → FITSIO.jl

JuliaAstro / FITSIO.jl

Licence: MIT license
Flexible Image Transport System (FITS) file support for Julia

Programming Languages

julia
2034 projects
Jsonnet
166 projects

Projects that are alternatives of or similar to FITSIO.jl

rust-fitsio
FFI wrapper around cfitsio in Rust
Stars: ✭ 17 (-63.04%)
Mutual labels:  astronomy, cfitsio
Astropy
Repository for the Astropy core package
Stars: ✭ 2,933 (+6276.09%)
Mutual labels:  astronomy
Astro Rust
Astronomical algorithms in Rust
Stars: ✭ 151 (+228.26%)
Mutual labels:  astronomy
Galaxy Image Classifier Tensorflow
Classify whether an image is of a Spiral or an Elliptical Galaxy using Transfer Learning (Tensorflow)
Stars: ✭ 179 (+289.13%)
Mutual labels:  astronomy
Cosmonium
3D astronomy and space exploration program.
Stars: ✭ 153 (+232.61%)
Mutual labels:  astronomy
Taotie
饕餮:A curated collection of resources for astrophysical research
Stars: ✭ 224 (+386.96%)
Mutual labels:  astronomy
Astroberry Server
Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
Stars: ✭ 141 (+206.52%)
Mutual labels:  astronomy
astronify
Astronomical data sonification.
Stars: ✭ 57 (+23.91%)
Mutual labels:  astronomy
Lightkurve
A friendly package for Kepler & TESS time series analysis in Python.
Stars: ✭ 232 (+404.35%)
Mutual labels:  astronomy
Pycbc
Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
Stars: ✭ 177 (+284.78%)
Mutual labels:  astronomy
Astropy Tutorials
Tutorials for the Astropy Project
Stars: ✭ 174 (+278.26%)
Mutual labels:  astronomy
Celerite
Scalable 1D Gaussian Processes in C++, Python, and Julia
Stars: ✭ 155 (+236.96%)
Mutual labels:  astronomy
Allsky
A Raspberry Pi operated Wireless Allsky Camera
Stars: ✭ 225 (+389.13%)
Mutual labels:  astronomy
Photutils
Astropy package for source detection and photometry. Maintainers: @larrybradley and @bsipocz
Stars: ✭ 150 (+226.09%)
Mutual labels:  astronomy
deepCR
Deep Learning Based Cosmic Ray Removal for Astronomical Images
Stars: ✭ 32 (-30.43%)
Mutual labels:  astronomy
Celeste.jl
Scalable inference for a generative model of astronomical images
Stars: ✭ 142 (+208.7%)
Mutual labels:  astronomy
Asdf
ASDF (Advanced Scientific Data Format) is a next generation interchange format for scientific data
Stars: ✭ 162 (+252.17%)
Mutual labels:  astronomy
Topography atlas of space
Code and instructions for making topographic maps of planets and moons
Stars: ✭ 187 (+306.52%)
Mutual labels:  astronomy
naima
Derivation of non-thermal particle distributions through MCMC spectral fitting
Stars: ✭ 32 (-30.43%)
Mutual labels:  astronomy
gleam
Galaxy Line Emission & Absorption Modeling
Stars: ✭ 23 (-50%)
Mutual labels:  astronomy

FITSIO.jl

Flexible Image Transport System (FITS) support for Julia

Build Status PkgEval codecov

Stable Dev License

Note: The Libcfitsio submodule has been moved to CFITSIO.jl and will be deprecated in a future release.

Usage

For more in-depth usage and examples, see the documentation

julia> using FITSIO

julia> f = FITS("file.fits")
File: file.fits
Mode: "w" (read-write)
HDUs: Num  Name  Type
      1          Image
      2          Table

julia> f[1]
File: file.fits
HDU: 1
Type: Image
Datatype: Float64
Datasize: (800, 800)

# read an image from disk
julia> data = read(f[1]);  

# read just a subset of image
julia> data = read(f[1], :, 790:end);  

# Get info about binary table
julia> f[2]
File: file.fits
HDU: 2
Type: Table
Rows: 20
Columns: Name  Size  Type    TFORM  
         col2        String  5A     
         col1        Int64   1K     

# Read a column from the table:
 julia> data = read(f[2], "col1")

# Read the entire header into memory
julia> header = read_header(f[1]);

julia> header["NAXIS1"]  # get value by keyword
800

julia> header[4]  # get value by position
800

# Read single keys into memory
julia> read_key(f[1], 4) # by position
("NAXIS1",800,"length of data axis 1")

julia> read_key(f[1], "NAXIS1") # by keyword
(800,"length of data axis 1")

# write data to file
julia> FITS("new_file.fits", "w") do f
           write(f, data)
       end
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].