Skip to content
/ psrdada Public

Local changes for AA-Alert for the PRSDada libraray

Notifications You must be signed in to change notification settings

TRASAL/psrdada

Repository files navigation

psrdada

Local changes for the AA-Alert project for the PRSDada libraray

This is a clone of the PSRDada repository on SourceForge

Summary of changes:

  • metadata written by dada_dbevent to the ringbuffer header
  • inclusion of arrival time in the triggering

dadadb_event trigger format

An event looks like this:

  N_EVENTS [n]
  [UTC_START]
  [START] [START_FRACTIONAL] [END] [END_FRACTIONAL] [ARRIVAL] [ARRIVAL_FRACTIONAL] [DM] [SNR] [WIDTH] [BEAM]

Where N_EVENTS is a literal string, and [NAME] are variables in the following format:

  • n: uint64
  • UTC_START, START, END, ARRIVAL: strptime format: "%Y-%m-%d-%H:%M:%S", with UTC appended (no conversions)
  • START_FRACTIONAL, END_FRACTIONAL, ARRIVAL_FRACTIONAL: uint64
  • DM: sscanf format %f
  • SNR: sscanf format %f
  • WIDTH: sscanf format %f
  • BEAM: sscanf format %u

The metadata that is added to the ringbuffer header is:

Key Type Documentation
OBS_OFFSET uint64
FILE_SIZE ld
N_EVENTS u Number of events in this slice of data
EVENTxxxx_SNR f Copied from trigger
EVENTxxxx_DM f Copied from trigger
EVENTxxxx_WIDTH f Copied from trigger
EVENTxxxx_BEAM u Copied from trigger
EVENTxxxx_ARRIVAL uint64 Copied from trigger
EVENTxxxx_ARRIVAL_NUMER uint64 Copied from trigger
EVENTxxxx_ARRIVAL_DENOM uint64 Copied from trigger

Where xxxx is the event number (a zero padded integer starting at 0, reset for each new ringbuffer header).

Contact

Jisk Attema [email protected]

About

Local changes for AA-Alert for the PRSDada libraray

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published