#projects #pulsar #astronomy #par #facilitate #pulsars #parfile

psrutils

A crate with a few utilities to facilitate pulsar science projects in rust

4 releases

Uses new Rust 2024

new 0.2.2 Mar 21, 2025
0.2.1 Mar 19, 2025
0.2.0 Mar 19, 2025
0.1.0 Mar 18, 2025

#3 in #facilitate

Download history 182/week @ 2025-03-14

182 downloads per month

MIT/Apache

57KB
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.1

  • Added .tim parser (currently only in tempo2-mode).
  • Changed hierarchy, moving error to be crate-global.

v 0.1.0

  • Added .par parser.

No runtime deps