Neuralyzer::Transforms::V2::SwindaleEventDetectionParams
Neuralyzer::Transforms::V2::SwindaleEventDetectionParams
Parameters for Swindale multi-channel spike event detection.
#include <SwindaleEventDetection.hpp>
Public Attributes
| Name | |
|---|---|
| DetectionMethod | method Detection method for Stage 1 proto-events. |
| rfl::Validator< float, rfl::Minimum< 1.0f >, rfl::Maximum< 20.0f > > | threshold_multiplier Primary threshold multiplier (threshold = threshold_multiplier * MAD / 0.6745). |
| rfl::Validator< float, rfl::Minimum< 0.05f > > | multiphasic_window_ms Multiphasic filter temporal window width in milliseconds (e.g. 0.20 ms). |
| AlignmentMethod | alignment_method Event alignment method on center channel. |
| ClusteringMethod | clustering_method Clustering method for Stage 2 proto-event grouping. |
| rfl::Validator< float, rfl::Minimum< 0.05f > > | temporal_sigma_ms Temporal clustering kernel sigma in milliseconds (default: 0.25 ms). |
| rfl::Validator< float, rfl::Minimum< 0.0f > > | spatial_sigma_um Spatial clustering kernel sigma in micrometers (default: 80.0 um). |
| rfl::Validator< float, rfl::Minimum< 100.0f > > | sampling_rate_hz Acquisition sampling rate in Hz (used to convert ms parameters to discrete sample counts). |
| std::string | probe_config_path Path to a SpikeSorter electrode configuration file (.cfg) specifying probe layout. |
| std::vector< ChannelPosition2D > | channel_positions Explicit probe channel coordinates in micrometers (used when probe_config_path is empty). |
| bool | enable_template_realignment Enable iterative multichannel template realignment on detected spike clusters (matches SpikeSorter). |
| rfl::Validator< float, rfl::Minimum< 0.05f >, rfl::Maximum< 2.0f > > | template_search_window_ms Maximum search window width in milliseconds for template alignment (default: 0.50 ms = 15 samples @ 30 kHz). |
| rfl::Validator< int, rfl::Minimum< 1 >, rfl::Maximum< 10 > > | template_max_iterations Maximum Expectation-Maximization iterations for template realignment (default: 3). |
Public Attributes Documentation
variable method
DetectionMethod method {DetectionMethod::DynamicMultiphasic};Detection method for Stage 1 proto-events.
variable threshold_multiplier
rfl::Validator< float, rfl::Minimum< 1.0f >, rfl::Maximum< 20.0f > > threshold_multiplier {5.0f};Primary threshold multiplier (threshold = threshold_multiplier * MAD / 0.6745).
variable multiphasic_window_ms
rfl::Validator< float, rfl::Minimum< 0.05f > > multiphasic_window_ms {0.20f};Multiphasic filter temporal window width in milliseconds (e.g. 0.20 ms).
variable alignment_method
AlignmentMethod alignment_method {AlignmentMethod::V2WeightedCOG};Event alignment method on center channel.
variable clustering_method
ClusteringMethod clustering_method {ClusteringMethod::GradientAscent};Clustering method for Stage 2 proto-event grouping.
variable temporal_sigma_ms
rfl::Validator< float, rfl::Minimum< 0.05f > > temporal_sigma_ms {0.25f};Temporal clustering kernel sigma in milliseconds (default: 0.25 ms).
variable spatial_sigma_um
rfl::Validator< float, rfl::Minimum< 0.0f > > spatial_sigma_um {80.0f};Spatial clustering kernel sigma in micrometers (default: 80.0 um).
variable sampling_rate_hz
rfl::Validator< float, rfl::Minimum< 100.0f > > sampling_rate_hz {30000.0f};Acquisition sampling rate in Hz (used to convert ms parameters to discrete sample counts).
variable probe_config_path
std::string probe_config_path {};Path to a SpikeSorter electrode configuration file (.cfg) specifying probe layout.
variable channel_positions
std::vector< ChannelPosition2D > channel_positions {};Explicit probe channel coordinates in micrometers (used when probe_config_path is empty).
variable enable_template_realignment
bool enable_template_realignment {true};Enable iterative multichannel template realignment on detected spike clusters (matches SpikeSorter).
variable template_search_window_ms
rfl::Validator< float, rfl::Minimum< 0.05f >, rfl::Maximum< 2.0f > > template_search_window_ms {0.50f};Maximum search window width in milliseconds for template alignment (default: 0.50 ms = 15 samples @ 30 kHz).
variable template_max_iterations
rfl::Validator< int, rfl::Minimum< 1 >, rfl::Maximum< 10 > > template_max_iterations {3};Maximum Expectation-Maximization iterations for template realignment (default: 3).
Updated on 2026-11-13 at 20:25:41 +0000