ENH: Reading TFRs lazily from disk (`h5io` to `h5py`)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading mne.time_frequency.read_tfrs and the lazy loading patterns in mne.io.Raw and mne.Epochs; the issue does not name specific files or tests. Check how the current h5io interface reads TFR data and whether h5py can support the proposed on-demand loading. Done means TFRs can be inspected without eagerly loading large data and .load_data() loads it on demand; this is a broad, incremental migration.
索引モデルが issue の本文から書いたものです。
説明
Describe the new feature or enhancement
Currently, mne.time_frequency.read_tfrs reads data eagerly from disk.
This is sometimes annoyingly slow when I don't immediately need to work with that data (which can often be enormous, ~10s of GB) and for e.g. just want to inspect it or pass some of its parameters to a downstream function.
It would be nice to follow e.g. mne.io.Raw and mne.Epochs and allow the loading to be lazy and .load_data() on demand.
Describe your proposed implementation
Currently, MNE-Python appears to use h5io for the HDF5 interface. From a cursory look, h5io doesn't appear to support lazy-loading.
This proposal would require migrating to e.g. h5py, which currently also appears to be the library with more contributors/activity.
I suppose this would be a rather large change, but perhaps it's worth it? It could also be done incrementally.
Describe possible alternatives
We could just let it be and allow eager loading. It's just inconvenient.
Additional context
No response
- 主要言語
- Python
- スター
- 3.6k
- フォーク
- 1.6k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 74
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mne-tools/mne-python のほかの issue
-
BUG
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mne-tools/mne-python#14478 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
`mne.stats.f_oneway` returns wrong (even negative) F for small integer dtypes対応中かも @darshpatel1052 が今日担当しました。 オープンBUG
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
mne-tools/mne-python#14477 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
ENH: Add `description` filter parameter to `Raw.crop_by_annotations()`対応中かも @aman-coder03 が 211 日前に担当しました。 オープンENH
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mne-tools/mne-python#13743 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Wrong exponent in the denominator of the transfer function in the filtering background tutorial対応中かも @qxzzxq が 1 日前に担当しました。 オープンDOC
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
mne-tools/mne-python#14486 ·
メンテナーはふだん 1 日以内に返信
-
cannot plot into matplotlib subfigure対応中かも @ishaaaan17 が 1 日前に担当しました。 オープンBUG
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mne-tools/mne-python#14481 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
mne-tools/mne-python の issue をすべて見る
似ている issue
-
HandyModRTransform.deriv3 is wrong for m > 2対応中かも @SajalDevX が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
read_messages: the first read after subscribe/psubscribe returns no messages even when some are waiting対応中かも @matheussilvano が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Swarm-Corporation/swarms-framework-docs#399 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bump patch
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
autowarefoundation/autoware_carla_scenario#1321 ·
メンテナーはふだん 1 日以内に返信