Skip to content

Commit 47e159e

Browse files
committed
fix gain
1 parent f581c50 commit 47e159e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/spikeinterface/extractors/whitematterrecordingextractor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
gain_to_uV: Optional[float] = None,
6767
):
6868

69-
gain_to_uV = gain_to_uV if gain_to_uV is not None else self.GAIN_TO_UV
69+
gain_to_uV = gain_to_uV if gain_to_uV is not None else self.HEADSTAGE_GAIN_TO_UV
7070

7171
super().__init__(
7272
file_paths=[file_path],
@@ -87,6 +87,7 @@ def __init__(
8787
"num_channels": num_channels,
8888
"channel_ids": channel_ids,
8989
"is_filtered": is_filtered,
90+
"gain_to_uV": gain_to_uV,
9091
}
9192

9293

0 commit comments

Comments
 (0)