Skip to content

add option to store intermediate magnetization values#34

Open
schuenke wants to merge 2 commits into
mainfrom
dynamics_new
Open

add option to store intermediate magnetization values#34
schuenke wants to merge 2 commits into
mainfrom
dynamics_new

Conversation

@schuenke
Copy link
Copy Markdown
Owner

@schuenke schuenke commented Jul 18, 2024

Adds option to BMCSim to store intermediate magnetization values. Can be used to track the magnetization development over different RF pulses and/or individual piecewise constant steps of RF pulses.

        store_dynamics
            option to activate logging of intermediate magnetization values
            0 = deactivate
            1 = store mag after each block
            2 = store mag after each simulation step (e.g. after each pulse sample)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 18, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/bmctool/parameters
   Options.py51198%46
   Parameters.py88199%56
   Pool.py75199%69
   System.py47198%44
src/bmctool/simulation
   BMCSim.py1331787%110–112, 120–122, 206, 286–291, 320–321, 348–349, 369
   BlochMcConnellSolver.py1503378%224, 231–235, 246–257, 269–287
   simulate.py28871%42, 45, 55–61, 90
src/bmctool/utils
   eval.py61198%192
src/bmctool/utils/pulses
   calc_power_equivalents.py11110%3–67
   calculate_phase.py11110%3–28
   create_arbitrary_pulse_with_phase.py22220%3–52
   make_hanning.py22220%3–55
   make_hsexp.py49490%3–259
   make_hypsec_half_passage.py23230%3–110
src/bmctool/utils/seq
   write.py50500%7–161
TOTAL90625172% 

Tests Skipped Failures Errors Time
167 0 💤 0 ❌ 0 🔥 11.586s ⏱️

add tests for store_dynamics=0/1/2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant