| Crates.io | psrutils |
| lib.rs | psrutils |
| version | 0.2.7 |
| created_at | 2025-03-18 09:54:39.71352+00 |
| updated_at | 2025-09-05 08:58:58.788594+00 |
| description | A crate with a few utilities to facilitate pulsar science projects in rust. |
| homepage | |
| repository | https://github.com/SGullin/psrutils |
| max_upload_size | |
| id | 1596418 |
| size | 69,035 |
psrutilsA small crate for use in pulsar timing projects.
The parfile module takes care of reading, representing, and writing .par files. The struct Parfile is available with pub fields for easy editing, and methods for reading from or writing to buffer objects.
The timfile module contains a method for reading .tim files, yielding a Vec<TOAInfo>. This recursively reads any other files included with the INCLUDE keyword.
Mjd struct.TOAInfo::from_line_tmepo2 to read from a line, instead of needing a whole .tim-file.data_types, and J2000 coordinate types within.Added .par parser.
psrutils is distributed under the terms of both the MIT License and the Apache License (2.0).