Skip to content

inject_gaussian_fil.py changes telescope and central frequency in header #3

@eflewis312

Description

@eflewis312

I've been running inject_gaussian_fil.py on some search-mode pulsar observations from Green Bank and Arecibo. The filterbank file that's written out doesn't have the correct header information, and I don't see a way to specify any of these values on the command line.

Below I'm pasting the relevant lines from the output of "readfile" on both the raw and injected files, and the full python command I'm running.

Readfile before injection:
Telescope = GBT
Source name = J0447-04
Backend = GUPPI
Central freq (MHz) = 820
Low channel (MHz) = 720.09765625
High channel (MHz) = 920

Full command:
python inject_gaussian_fil.py --fnfil=[path to file] --nfrb=100 --outdir=[output directory] --dm_min=5 --dm_max=10000 --spec_min=-5 --spec_max=10 --fluence_min=1

Readfile after injection:
Telescope = Ooty
Source name = J1813-1749
Backend = Unknown
Central freq (MHz) = 1369.60327148
Low channel (MHz) = 1219.70092773
High channel (MHz) = 1519.50561523

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions