Repository navigation
Merge walkthrough figures into the Signal Decay and TE Dependence chapters - #108
Merged
Merged
Conversation
Remove plot_approach_figures and move its content where it fits: - Signal_Decay: introduce the monoexponential decay model up front and add a section that fits S0 and T2* to a real voxel with the log-linear model (one two-panel figure replaces four). - TE_Dependence: add a walkthrough of tedana on real data (adaptive mask, optimal combination, PCA, ICA, kappa/rho model fits, MEDN/MEHK, and minimum image regression). Also rewrite the first half of TE_Dependence: derive the linearized signal model, define the TE-dependence and TE-independence models and their F-statistics before kappa and rho are used, fix the BOLD/non-BOLD simulation figure, simulate components with realistic echo times and fluctuations, and correct the dimensions and wording of the MIR algorithm.
Signal_Decay: - Correct the description of decay and of T2*-weighted vs. BOLD contrast, and explain the real-data figures (spread across echoes, echo-wise time series, first-volume spike). - Use one simulated baseline T2* (45 ms), label exaggerated fluctuations, and compute the contrast peak instead of asserting it. - Use one colorbar in the brain figure, drop the lightest echo color, fix animation ticks, labels, headings, and captions, and merge the two single-echo comparison plots into one figure. - Add sections on other decay models, noise across echoes, and a closing summary. TE_Dependence: - Describe tedana's GSR and how it differs from MIR. Remove the "Important" planning notes from both chapters, whose items are now covered.
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes
plot_approach_figuresand merges its content into the two chapters it was written for, then revises both chapters so they read as teaching material for someone new to multi-echo fMRI.Signal Decay
TE Dependence
tedanaon real data: adaptive mask, optimal combination, why a decomposition is needed, PCA, ICA, model fits for an accepted and a rejected component, MEDN/MEHK, GSR, and minimum image regression.Both chapters' "Important" planning notes are removed, since their items are now covered.
Dropped from the walkthrough on purpose: two figures that duplicated existing ones, a scatter plot that placed optimally combined data at x = T2*, and the "before vs. after PCA" voxel trace (tedana's whitened output is z-scored per voxel and does not look like a denoised version of the original).
Execution cache
Code cells in both chapters changed, so the published execution cache is stale for them. Both notebooks were executed locally and
make check-cachereports 22 of 22 notebooks cached.make publish-cacheneeds to be run before or right after merging, or the build onmainwill fail.🤖 Generated with Claude Code