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

#316 in Science

Download history 112/week @ 2024-10-26 151/week @ 2024-11-02 20/week @ 2024-11-09 808/week @ 2024-11-16 304/week @ 2024-11-23 6/week @ 2024-11-30 55/week @ 2024-12-07 27/week @ 2024-12-14 1568/week @ 2025-01-11 1047/week @ 2025-01-18 120/week @ 2025-01-25 42/week @ 2025-02-01 98/week @ 2025-02-08

1,918 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