pycbc_generate_hwinj #4089
-
Hi all, I'm running PyCBC=1.18.3 and 2.0.3 and trying to generate an injection and insert it into our original frames. I run this command:
In the first case (1.18.3) I get the following error:
And in GRAVITY-igvn environment (pycbc v2.0.3) I get the following one:
Any help would be appreciated! TIA, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @albertoaguilarUIB apologies for the slow response! The issue here is that the command you are running (in 1.18.3) is trying to read in more than 32 seconds of data. The reason for this is that normally the user is doing something like a high-pass filter (as you are doing with You could download the longer frame files from GWOSC, or you could add: --pad-data 0 to the command. This will ensure that only 32s is read in, but the start and end will be a little corrupted by the high-pass filter. You also have both
and things worked. There has been some broken XML code in the more recent version (because of changes in the underlying library). The particular error you report was fixed in 2.0.4/2.0.5, but this code still didn't run on master. I'll be putting in a pull request soon to fix this for 2.0.6 |
Beta Was this translation helpful? Give feedback.
Hi @albertoaguilarUIB apologies for the slow response!
The issue here is that the command you are running (in 1.18.3) is trying to read in more than 32 seconds of data. The reason for this is that normally the user is doing something like a high-pass filter (as you are doing with
--strain-high-pass 20
, and so we try to read in an additional 8 seconds of data at the start and the end, which is then corrupted by the high-pass filter, and is stripped away, so you have 32 seconds of usable data after this). However, with only 32 second frame files, this doesn't work.You could download the longer frame files from GWOSC, or you could add:
--pad-data 0
to the command. This will ensure that only…