Skip to content

pravirkr/dmt

Repository files navigation

dmt

GitHub CI codecov Python Version from PEP 621 TOML C++ Version License

Dispersion Measure Transforms

Installation

Using pip:

pip install -U git+https://github.com/pravirkr/dmt

Usage

from dmtlib import FDMTCPU

frb = np.ones((nchans, nsamps), dtype=np.float32)
thefdmt = FDMTCPU(f_min, f_max, nchans, nsamps, tsamp, dt_max=dt_max, dt_min=0, dt_step=1)
dmt_transform = thefdmt.execute(frb.astype(np.float32))

Benchmarks

f_min = 704.0, f_max = 1216.0, nchans = 4096, tsamp = 0.00008192, dt_max = 2048, nsamps = n;
nthreads = 1, 8;