Giter Club home page Giter Club logo

process_gmrt_data's Introduction

What?

All-in-one filterbank code to convert full polar or total power GMRT data to sigproc filterbank format file. Currently written to convert only LSB data (highest frequency channel first).

Why?

GMRT full polarisation data is written in T1_C1[PQRS], T1_C2[PQRS], T1_C3[PQRS] ... format. While sigproc accepts data in a format which is T1_P[C1...CN], T1_Q[C1...CN], T1_R[C1...CN], T1_S[C1...CN]. This code essentially written to perform this conversion.

After the conversion to filterbank, if asked, the code can convert the filterbank file to psrfits using DSPSR and also perform RFI excision using iterative_cleaner.py extracted from coast_guard pipeline (https://github.com/larskuenkel/iterative_cleaner).

Compilation:

gcc -o process_gmrt_psr process_gmrt_psr.c

Usage:

process_gmrt_psr <input_file> {options}

For detailed instruction of usage, see the help page (-h option).

Detailed help:

filterbank options

-n : number of channels

-p : number of polarisations

-f : Frequency of the highest channel in MHz (def: 500.0)

-bw : Recording bandwidth in MHz (def: 200.0)

-sb : Sideband sense. -1 for LSB; 1 for USB (def: -1)

-mjd : Timestamp of the first sample in MJD

-ts : Sampling time (in secs)

-E : Parameter file

-rfi : Specify if the data is cleaned of RFI (0: norfix[default]; 1: gptool; 2: rfiClean)

DSPSR options

-dspsr : Process filterbank file with DSPSR (def: False)

-b : Number of bins to fold (def: 128)

-tsub : Sub-integration length in seconds (def: 10.0)

-t : Number of thread to use (def: 1)

iterative_clean.py options

-clean : Clean fits file produced by DSPSR (def: False)

-m : Number of iterations (def: 5)

process_gmrt_data's People

Contributors

ajaysankar175 avatar kkma89 avatar

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.