sct_compute_ernst_angle

F u n c t i o n t o c o m p u t e t h e E r n s t A n g l e . Function to compute the Ernst Angle.

F o r e x a m p l e s o f T 1 v a l u e s i n t h e b r a i n , s e e W a n s a p u r a e t a l . N M R r e l a x a t i o n t i m e s i n t h e h u m a n b r a i n a t 3 . 0 t e s l a . J o u r n a l o f m a g n e t i c r e s o n a n c e i m a g i n g : J M R I ( 1 9 9 9 ) v o l . 9 ( 4 ) p p . 5 3 1 - 8 . T 1 i n W M : 8 3 2 m s T 1 i n G M : 1 3 3 1 m s For examples of T1 values in the brain, see Wansapura et al. NMR relaxation times in the human brain at 3.0 tesla. Journal of magnetic resonance imaging : JMRI (1999) vol. 9 (4) pp. 531-8. T1 in WM: 832msT1 in GM: 1331ms

usage: sct_compute_ernst_angle -tr <float> [-t1 <float>] [-b <float> <float>]
                               [-o <str>] [-ofig <str>] [-h] [-v <int>]

MANDATORY ARGUMENTS

-tr

V a l u e o f T R ( i n m s ) t o g e t t h e E r n s t A n g l e . E x a m p l e : ` 2 0 0 0 ` Value of TR (in ms) to get the Ernst Angle. Example: 2000

OPTIONAL ARGUMENTS

-t1

T 1 v a l u e ( i n m s ) . T1 value (in ms).

D e f a u l t : ` ` 8 3 2 . 0 ` ` Default: 832.0

-b

M i n / M a x r a n g e o f T R ( i n m s ) s e p a r a t e d w i t h s p a c e . O n l y u s e w i t h ` - v 2 ` . Min/Max range of TR (in ms) separated with space. Only use with -v 2.

D e f a u l t : ` ` [ 5 0 0 , 3 5 0 0 ] ` ` Default: [500, 3500]

-o

N a m e o f t h e o u t p u t f i l e c o n t a i n i n g E r n s t a n g l e r e s u l t . Name of the output file containing Ernst angle result.

D e f a u l t : ` ` ‘ e r n s t _ a n g l e . t x t ‘ ` ` Default: 'ernst_angle.txt'

-ofig

N a m e o f t h e o u t p u t g r a p h . O n l y u s e w i t h ` - v 2 ` . Name of the output graph. Only use with -v 2.

D e f a u l t : ` ` ‘ e r n s t _ a n g l e . p n g ‘ ` ` Default: 'ernst_angle.png'

MISC ARGUMENTS

-v

P o s s i b l e c h o i c e s : 0 , 1 , 2 Possible choices: 0, 1, 2

V e r b o s i t y . 0 : D i s p l a y o n l y e r r o r s / w a r n i n g s , 1 : E r r o r s / w a r n i n g s + i n f o m e s s a g e s , 2 : D e b u g m o d e . Verbosity. 0: Display only errors/warnings, 1: Errors/warnings + info messages, 2: Debug mode.

D e f a u l t : ` ` 1 ` ` Default: 1