Skip to content

probe_planar_contour lost when splitting & aggregating channels #3947

Description

@RobertoDF

Hi,
I noticed that probe inside raw_rec after the splitting and aggregating lose .probe_planar_contour.

        probes = read_probeinterface(probe_json)
        raw_rec = raw_rec.set_probegroup(probes, group_mode="by_shank")
        split_recording_dict = raw_rec.split_by("group")
        proc_rec = spre.highpass_filter(recording=split_recording_dict)
        proc_rec = spre.common_reference(recording=proc_rec, operator="median", reference="global")
        raw_rec = aggregate_channels(proc_rec)
        raw_rec.clear_channel_groups()

so I am forced to call again raw_rec = raw_rec.set_probegroup(probes, group_mode="by_shank") afterward, is this fixable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question regarding SI

    Type

    No type

    Fields

    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