Giter Site home page Giter Site logo

dadatrigger's Introduction

Dadatrigger

This code is written for the AA-Alert project. (c) 2017 Jisk Attema, Netherlands eScience Center, ASTRON

Based on the PSRdada software.

Initial version of data flow pipeline

This is a work in progress; see the start.sh script. Documentation and instructions coming soon(ish).

Data flow diagram

DADA header information

Meta data for the generated output is taken from various locations:

  • the FITS file templates
  • commandline arguemnts
  • DADA header blocks

The start.sh script should get most values from the system (via QPID?), generates the necessary dada headers, and passes commandline arguments.

The table below describes the required keys in the DADA headerblock:

DADA header key used by standard name (QPID?) description Units
NCHAN filterbank, amber NCHANNELS Number of frequency channels 1
MIN_FREQUENCY filterbank, fits, amber Lowest frequency
CHANNEL_BANDWIDTH filterbank, fits, amber Bandwidth per channel
BW filterbank Total bandwidth
TSAMP filterbank, amber s
RA filterbank
DEC filterbank
SOURCE filterbank Name of the source -
AZ_START filterbank
ZA_START filterbank
MJD_START filterbank
NBIT filterbank 1
FILE_SIZE dbdisk Expected final file size (?) bytes
SAMPLES_PER_BATCH amber Normally 12500 or 25000 1
UTC_START dbevent, dbdisk Start of the observation %Y-%m-%d-%H:%M:%S (UTC)
RESOLUTION dbevent Page size (events are an integer mulitple of this) bytes
BYTES_PER_SECOND dbevent Data rate bytes

TODO:

  • MIN_FREQUENCY, CHANNEL_BANDWIDTH, NCHAN, TSAMP, NBIT are all constant per experiment (ie. defined as part of the science case and mode). Having them as a parameter here is confusing, because changing it here will at most crash the codes; it will not do what you want.
  • Link stuff to QPID
  • Are we missing keys?

dadatrigger's People

Contributors

loostrum avatar

Watchers

Alessio Sclocco avatar James Cloos avatar  avatar Ronald van Haren avatar

dadatrigger's Issues

Mapping between keys in README and keys in the interface doc

I took the table from the README from this repo and tried mapping the keys for the start_observation command from table 1 in the Interface Specification from MAC to SC3+4. Looks like there is some difference between the two. Since Markdown pasting in Slack doesn't work, I just put it in an issue over here. I don't really mind where we discuss it further, as long as we are consistent in doing so :).

Interface fields in bold are implemented by APERTIF but do not appear in the interface document.

DADA header key Interface Field Type Qpid cfg
NCHAN arts.survey.nrChannels int
MIN_FREQUENCY arts.survey.frequencyChannel0 float
CHANNEL_BANDWIDTH arts.survey.channelBandwidth float
BW
TSAMP
RA task.beamSet.0.compoundBeam.X.phaseCenter [0] float
DEC task.beamSet.0.compoundBeam.X.phaseCenter [1] float
SOURCE task.source.name str X
AZ_START
ZA_START
MJD_START
NBIT
FILE_SIZE
SAMPLES_PER_BATCH
UTC_START task.startTime
RESOLUTION
BYTES_PER_SECOND
task.taskID str X
(N/A) arts.survey.mode str X
arts.survey.zappedChannels int []
arts.survey.nrChunks int
arts.survey.nrSamplesPerChunk int
arts.survey.DMs float []
arts.survey.integrationSteps int []
arts.survey.threshold float

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.