Crates.io | pyref-core |
lib.rs | pyref-core |
version | |
source | src |
created_at | 2024-08-29 00:37:55.941721 |
updated_at | 2025-01-23 22:53:22.830618 |
description | Core of the pyref project |
homepage | |
repository | https://github.com/WSU-Carbon-Lab/pyref-ccd |
max_upload_size | |
id | 1355484 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate is a light wrapper over the astrors crate. It provides a simple interface to access CCD data in FITS files.
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);
}