Qian Chu

Results 8 issues of Qian Chu

Implement #12283 To do list: - [x] Change `docdict["ref_channels_set_eeg_reference"]` in `mne/utils/docs.py` to include `dict` - [x] Change `set_eeg_reference()` to implement `dict` based re-referencing - [x] Modify `_check_before_reference` or create new...

### Describe the new feature or enhancement In some cases, especially intracranial EEG, re-referencing of channels should be local (e.g. within the same shaft/grid/strip) rather than global (i.e., ref all...

ENH

Implements https://github.com/pynapple-org/pynapple/issues/251. Added a static method `TsGroup.merge_group()` as well as a `tsgroup.merge()`. Documentation with examples is included as well.

In quite a few scenarios one may want to merge some TsGroup (e.g. adding new neurons, merging PETH from different runs, etc.) but currently TsGroup is non-mutable: https://github.com/pynapple-org/pynapple/blob/ea603577767e2117c7afdaac4edf800fae4bf6ce/pynapple/core/ts_group.py#L149-L151 Maybe we...

When cropping the start of a recording, `raw.first_time` is updated while `annotations.onset` is conveniently untouched. However, when exporting to another format where times are reset (starting from zero), `annotations.onset` should...

### Describe the new feature or enhancement The original Eyelink blink detection algorithm simply parses blinks when pupil becomes indetectable. However, this approach ignores the temporal dynamics of the opening/closing...

ENH

## Possible user scenario Take a TsGroup containing Ts of spikes indexed by neurons. Users might realize that some "neurons" are actually not distinct and belong to the same neuron...

I'm doing a bunch of batch processing for my entire dataset. I can't give the exact code, but it's a bit like this: ```python for path in npz_paths: print(f"Processing {path}")...