Skip to content

Commit 559cfe1

Browse files
committed
Save ap_rms files under output if given
1 parent 7deb120 commit 559cfe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ibllib/dsp/voltage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ def my_function(i_chunk, n_chunk):
481481
rms_data = np.frombuffer(rms_data, dtype=np.float32)
482482
assert(rms_data.shape[0] == time_data.shape[0] * ncv)
483483
rms_data = rms_data.reshape(time_data.shape[0], ncv)
484-
np.save(Path(sr_file).parent.joinpath('_iblqc_ephysTimeRmsAP.rms.npy'), rms_data)
485-
np.save(Path(sr_file).parent.joinpath('_iblqc_ephysTimeRmsAP.timestamps.npy'), time_data)
484+
np.save(output_file.parent.joinpath('_iblqc_ephysTimeRmsAP.rms.npy'), rms_data)
485+
np.save(output_file.parent.joinpath('_iblqc_ephysTimeRmsAP.timestamps.npy'), time_data)
486486

487487

488488
def rcoeff(x, y):

0 commit comments

Comments
 (0)