Skip to content

chime-sps/FDMT

This branch is 75 commits ahead of ajosephy/FDMT:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d091f04 · Mar 9, 2024

History

86 Commits
Mar 7, 2024
Jan 29, 2024
Jun 16, 2022
Jan 10, 2022
Nov 8, 2023
Jan 31, 2022
Mar 22, 2022
Mar 9, 2024
Mar 9, 2024

Repository files navigation

This is a Python implementation of FDMT, an algorithm to dedisperse pulsar and FRB signals described by Zackay & Ofek (2017).

Installing

Clone the repository and checkout the desired branch if necessary.

To install the core package, use pip install path/to/FDMT.

If you plan on calling FDMT directly from the command line on filterbank-format .fil files, use pip install path/to/FDMT[cmdline].

Using the code

The core package is imported like any other Python package.

To run on filterbank files from command line, use python -m fdmt.run:

$ python -m fdmt.run infile.fil outfile.npy
$ python -m fdmt.run --help

The code can output raw binary .dat files, numpy .npy and .npz files, and presto-style time series defined by .dat and .inf file pairs. The output is recognized by the file extension, for instance: python -m fdmt.run infile.fil outfile.npy writes a numpy array of dedispersed time series to outfile.npy. When there is no file extension, then the output is (intended to be) in the same format as the output of presto's prepsubband output: python -m fdmt.run infile.fil outfile writes numerous files called outfile_DMXX.XX.dat and outfile_DMXX.XX.inf, one pair of .dat and .inf files for each time series.

Happy dedispersing.

(more detailed documentation to come)

About

GPU De-dispersion script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%