MCPcopy
hub / github.com/mne-tools/mne-python / _normalize_proj

Function _normalize_proj

mne/_fiff/proj.py:881–895  ·  view source on GitHub ↗

Normalize proj after subselection to avoid warnings. This is really only useful for tests, and might not be needed eventually if we change or improve our handling of projectors with picks.

(info)

Source from the content-addressed store, hash-verified

879
880
881def _normalize_proj(info):
882 """Normalize proj after subselection to avoid warnings.
883
884 This is really only useful for tests, and might not be needed
885 eventually if we change or improve our handling of projectors
886 with picks.
887 """
888 # Here we do info.get b/c info can actually be a noise cov
889 _make_projector(
890 info["projs"],
891 info.get("ch_names", info.get("names")),
892 info["bads"],
893 include_active=True,
894 inplace=True,
895 )
896
897
898@fill_doc

Callers 1

normalize_projMethod · 0.85

Calls 1

_make_projectorFunction · 0.85

Tested by

no test coverage detected