Skip to content

Commit 9566368

Browse files
committed
Remove custom noise std for now
1 parent 875dac0 commit 9566368

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

neo/rawio/biocamrawio.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def decode_event_based_raw_data(rf, data, well_ID, start_frame, num_frames):
392392

393393
return data
394394

395-
def generate_synthetic_noise(rf, data, well_ID, start_frame, num_frames): #, std=None):
395+
def generate_synthetic_noise(rf, data, well_ID, start_frame, num_frames):
396396
# Source: Documentation by 3Brain
397397
# https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/src/master/biocam/documentation_brw_4.x_bxr_3.x_bcmp_1.x_in_brainwave_5.x_v1.1.3.pdf
398398
# collect the TOCs
@@ -418,10 +418,8 @@ def generate_synthetic_noise(rf, data, well_ID, start_frame, num_frames): #, std
418418
# obtain the noise info at the start position
419419
noise_ch_idx = rf[well_ID]["NoiseChIdxs"][noise_start_pos:noise_end_pos]
420420
noise_mean = rf[well_ID]["NoiseMean"][noise_start_pos:noise_end_pos]
421-
# if std is None:
422421
noise_std = rf[well_ID]["NoiseStdDev"][noise_start_pos:noise_end_pos]
423-
# else:
424-
# noise_std = np.repeat(std, noise_end_pos - noise_start_pos)
422+
425423
noise_length = noise_end_pos - noise_start_pos
426424
noise_info = {}
427425
mean_collection = []

0 commit comments

Comments
 (0)