only multiple pulses in random run
This commit is contained in:
parent
0ce2e92adc
commit
66886fac71
|
@ -140,7 +140,10 @@ def addBurst(values):
|
|||
#get bandpass and store in bpWeights
|
||||
bpWeights = create.filter_weights(spectra)
|
||||
|
||||
if values.rsamp:
|
||||
pulseNum = rng.integers(1, high=MAX_BURSTS, endpoint=True)
|
||||
else:
|
||||
pulseNum = 1
|
||||
logger.info(f"{basename} loaded. Injecting {pulseNum} pulses.")
|
||||
starts = np.linspace(samples//4, 3*(samples//4), num=pulseNum, dtype=int)
|
||||
for run in range(pulseNum):
|
||||
|
|
Loading…
Reference in a new issue