Skip to main content

Python project to read CHIME/FRB Data

Project description


Read utilties for CHIME/FRB Open Data Release.


pip install cfod

Note: Currently only Python 2.7 is supported.


To read a single data file from the data release,

from cfod import chime_intensity as ci
fn = `astro_5941664_20180406203904337770_beam0147_00245439_02.msgpack`
intensity, weights, fpga0, fpgaN, binning, frame0_nano, nrfifreq, rfi_mask = ci.unpack_data(fn)


  • intensity is a 2D Intensity array.
  • weights are the corresponding 2D array weights to the intensity array.
  • fpga0 (int) is start fpga count of the data chunk. (Internally used to track time, can be ignored). The fpga count increments at the rate of 2.56us.
  • fpgaN (int) is number of fpga counts in the data chunk read
  • binning (int) is the downsampling of the data from the ringbuffer
  • frame0_nano is the conversion from fpga timestamp to utc timestamp (Currently not supported.)
  • nrfifreq is the number of frequences masked by the realtime rfi system (Currently not supported.)
  • rfi_mask is currently not supported

To read multiple data files at once, you can use the following command,

from cfod import chime_intensity as ci
fns = ['file1', 'file2', 'file3']
intensity, weights, fpga0s, fpgaNs, binning, rfi_mask, frame0_nanos = ci.unpack_datafiles(fns)


pip uninstall cfod

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cfod, version 2019.1.post1
Filename, size File type Python version Upload date Hashes
Filename, size cfod-2019.1.post1.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page