66 releases

0.3.59 Jan 23, 2025
0.3.56 Jan 23, 2025
0.3.25 Nov 22, 2024
0.3.14 Oct 20, 2024
0.2.26 Aug 31, 2024

#322 in Science

Download history 7/week @ 2024-11-13 1080/week @ 2024-11-20 31/week @ 2024-11-27 15/week @ 2024-12-04 70/week @ 2024-12-11 505/week @ 2025-01-08 1588/week @ 2025-01-15 612/week @ 2025-01-22 55/week @ 2025-01-29 44/week @ 2025-02-05 97/week @ 2025-02-12 37/week @ 2025-02-19 8/week @ 2025-02-26

193 downloads per month

GPL-2.0 license

29KB
431 lines

Rust Backend for accessing CCD data in FITS files

This crate is a light wrapper over the astrors crate. It provides a simple interface to access CCD data in FITS files.

Usage

use pyref_ccd::*;
use std::path::Path;

fn main() {
    let path = "path/to/fits/file.fits";
    let df = read_fits(path).unwrap();
    println!("{:?}", df);

    // Or to load all data in a directory

    let path = "path/to/directory";
    let all_df = read_experiment(path, ExperimentType::Xrr).unwrap();
    println!("{:?}", all_df);
}

Dependencies

~30–58MB
~1M SLoC