feature_calculators.CsdParams
feature_calculators.CsdParams(
bands=None,
decimate=10,
scale=True,
denoise=True,
cadzow_kwargs=None,
)Per-feature parameters for the CSD feature family.
Attributes: bands (Mapping | None): Frequency bands for the CSD spectral step. None uses the default bands. decimate (int): Temporal decimation factor applied before the CSD. scale (bool): Whether ibldsp.voltage.current_source_density scales the CSD. denoise (bool): Whether the CSD step applies its internal ibldsp.cadzow.cadzow_denoiser pass before the finite difference. Defaults to True. Set False when the input data has already been Cadzow-denoised upstream (e.g. a pre-denoised LF source), so it isn’t denoised a second time on top of a lossy reconstruction. cadzow_kwargs (Mapping | None): Overrides of the Cadzow parameters (e.g. {"shrinkage": None, "gap_threshold": 2.0}). None uses the geometry-dependent defaults of :func:ephysatlas.features.cadzow_lfp_kwargs. fs and h are set by :func:ephysatlas.features.csd and cannot be overridden.