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
1,918 downloads per month
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