Skip to content

Documentation for amplitude_median in quality_metrics says "in absolute value" #4354

@ecobost

Description

@ecobost

Docstring and documentation for amplitude_median says this is "median (in absolute value)"

"amplitude_median": "Median of the amplitude distributions (in absolute value) for each unit in uV."

It's definitely not
all_amplitude_medians[unit_id] = np.median(amplitudes_by_units[unit_id])

Maybe fix the docstring.

I actually like it to not be in absolute value cause if you have positive and negative spiking units, this is a proxy to see which are which. I would rather that information is kept here, if needed one can always take abs(df['amplitude_median'[) later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions