Skip to content
Snippets Groups Projects
Commit 76cb0454 authored by Elias Arnold's avatar Elias Arnold
Browse files

fix: Sensible default for CADC time shift

Change-Id: I3347d569f502ad63b966fc2b0ba5e2e90e980162
parent c5751702
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ class IAFNeuron(Neuron):
torch.Tensor, float] = 0.,
trace_scale: Union[Dict[halco.AtomicNeuronOnDLS, float],
torch.Tensor, float] = 1.,
cadc_time_shift: int = 1, shift_cadc_to_first: bool = False,
cadc_time_shift: int = 0, shift_cadc_to_first: bool = False,
interpolation_mode: str = "linear",
neuron_structure: Optional[Morphology] = None,
**extra_params) -> None:
......
......@@ -67,7 +67,7 @@ class Neuron(Population):
torch.Tensor, float] = 0.,
trace_scale: Union[Dict[halco.LogicalNeuronOnDLS, float],
torch.Tensor, float] = 1.,
cadc_time_shift: int = 1, shift_cadc_to_first: bool = False,
cadc_time_shift: int = 0, shift_cadc_to_first: bool = False,
interpolation_mode: str = "linear",
neuron_structure: Optional[Morphology] = None,
**extra_params) -> None:
......
......@@ -53,7 +53,7 @@ class ReadoutNeuron(Neuron):
torch.Tensor, float] = 0.,
trace_scale: Union[Dict[halco.AtomicNeuronOnDLS, float],
torch.Tensor, float] = 1.,
cadc_time_shift: int = 1, shift_cadc_to_first: bool = False,
cadc_time_shift: int = 0, shift_cadc_to_first: bool = False,
interpolation_mode: str = "linear",
neuron_structure: Optional[Morphology] = None,
**extra_params) -> None:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment