7 releases
Uses new Rust 2024
| 0.2.7 | Sep 5, 2025 |
|---|---|
| 0.2.6 | Aug 29, 2025 |
| 0.2.3 | May 12, 2025 |
| 0.2.2 | Mar 21, 2025 |
| 0.1.0 | Mar 18, 2025 |
#698 in Data structures
440 downloads per month
Used in argos-arpa
68KB
1.5K
SLoC
psrutils
A small crate for use in pulsar timing projects.
Parfiles
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.
Timfiles
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.
Changelog
v 0.2.4
- Added
Mjdstruct. - Improved documentation, flow, and other small tidbits.
v 0.2.3
- Added
TOAInfo::from_line_tmepo2to read from a line, instead of needing a whole .tim-file.
v 0.2.2
- Added module
data_types, and J2000 coordinate types within. - Fixed visibility issues.
- Added more documentation.
v 0.2.1
- Added .tim parser (currently only in tempo2-mode).
- Changed hierarchy, moving error to be crate-global.
v 0.1.0
- Added .par parser.
License
psrutils is distributed under the terms of both the MIT License and the Apache License (2.0).