Conversation
|
Do we have consensus that we rather want the magnetization including encoding etc. than without? Or should we provide an additional flag to select this? |
|
I see no application where we need the signal without relaxation, but we could use another flag to be more general and we don't have to decide now. |
|
sounds interesting to have both options...
so you could get mri signals and the mag at the same time, still i wonder
how spoiling affects this...
is running an unencoded experiment then the same?
probably not as spoiling is missing in unencoded.
do you get mag at any timepoint or only at adc?
SWeinmueller ***@***.***> schrieb am Di., 10. Dez. 2024,
09:40:
… I see no application where we need the signal without relaxation, but we
could use another flag to be more general and we don't have to decide now.
—
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7RKGR5YZE4ENSSQKCNEY32E2SHVAVCNFSM6AAAAABTAEQWKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZQHAYTQNZQGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
We could have the option to return either + states or ADC mag, as made here: #101 If that's okay, merge into mag_p before merging mag_p into main |
suggestion to make two separate options for returning + states and measured magnetization
|
Suggested change: remove Example usage: graph = mr0.compute_graph(seq, data)
signal, mag_adc = mr0.execute_graph(graph, seq, data, return_mag_adc=True, clear_state_mag=False)
# Extract all states of the desired type and if it was simulated (mag is not None)
mag_p = [[state.mag for state in rep if state.dist_type == "+" and state.mag is not None] for rep in graph]
mag_z = [[state.mag for state in rep if state.dist_type in ["z", "z0"] and state.mag is not None] for rep in graph] |
|
It works as desired. Nevertheless, you have to think carefully about which states you take into account, as some of these are also dephased. |
changed sim to not return mag_p and mag_z but instead leave it in the graph
|
mag_adc: |


Return the correct mag _P