liamconnor / injectfrb

Tools for simulating FRBs and injecting them into real data
8 stars 5 forks source link

inject_gaussian_fil.py not working #2

Open parulj3795 opened 5 years ago

parulj3795 commented 5 years ago

Following the example in README, I tried the following command. However, I get an error and the command is not executed. I have sigproc installed.

$ python inject_gaussian_fil.py --nfrb 50 --simulator injectfrb --dm_min 100. --dm_max 100. --outdir /home/astro/Downloads/injectfrb-master/injectfrb/test/ --upchan_factor 1 --upsamp_factor 1

Either could not load sigproc or create filterbank Need either a test .fil file or sigproc

ParthThakur commented 4 years ago

Add an argument: --fnfil data/test.fil

The issue is caused because the default value of --fnfil is injectfrb/data/test.fil

Starfish2018 commented 1 year ago

Hey @ParthThakur @parulj3795 @liamconnor,

I am facing the same problem. I tried the following command, but still getting error:

python inject_gaussian_fil.py --fnfil data/simpulse_nfrb25_DM15-1876_259sec_20200130-1206.fil --nfrb 50 --simulator injectfrb --dm_min 100. --dm_max 100. --outdir outputdir --upchan_factor 1 --upsamp_factor 1

Either could not load sigproc or create filterbank Need either a test .fil file or sigproc

Could you please help