sct_download_data

D o w n l o a d b i n a r i e s f r o m t h e w e b . Download binaries from the web.

usage: sct_download_data -d <dataset> [-o <folder>] [-k] [-h] [-v <int>]

MANDATORY ARGUMENTS

-d

P o s s i b l e c h o i c e s : d e f a u l t , b i n a r i e s _ l i n u x , b i n a r i e s _ o s x , b i n a r i e s _ w i n , d e e p r e g _ m o d e l s , d e e p s e g _ g m _ m o d e l s , d e e p s e g _ l e s i o n _ m o d e l s , d e e p s e g _ s c _ m o d e l s , e x v i v o _ t e m p l a t e , m a n u a l - c o r r e c t i o n , M N I - P o l y - A M U , m o c o - d l _ m o d e l s , P A M 5 0 , P A M 5 0 _ n o r m a l i z e d _ m e t r i c s , s c t _ c o u r s e _ d a t a , s c t _ e x a m p l e _ d a t a , s c t _ t e s t i n g _ d a t a , t e m p l a t e - d o g Possible choices: default, binaries_linux, binaries_osx, binaries_win, deepreg_models, deepseg_gm_models, deepseg_lesion_models, deepseg_sc_models, exvivo_template, manual-correction, MNI-Poly-AMU, moco-dl_models, PAM50, PAM50_normalized_metrics, sct_course_data, sct_example_data, sct_testing_data, template-dog

N a m e o f t h e d a t a s e t , a s l i s t e d i n t h e t a b l e b e l o w . I f ‘ d e f a u l t ‘ i s s p e c i f i e d , t h e n a l l d e f a u l t d a t a s e t s w i l l b e r e - d o w n l o a d e d . ( D e f a u l t d a t a s e t s a r e c r i t i c a l d a t a s e t s d o w n l o a d e d d u r i n g i n s t a l l a t i o n . ) Name of the dataset, as listed in the table below. If ‘default’ is specified, then all default datasets will be re-downloaded. (Default datasets are critical datasets downloaded during installation.)

OPTIONAL ARGUMENTS

-o

P a t h t o a d i r e c t o r y t o s a v e t h e d o w n l o a d e d d a t a . Path to a directory to save the downloaded data.

( I f n o t p r o v i d e d , t h e d a t a s e t w i l l b e d o w n l o a d e d t o t h e S C T i n s t a l l a t i o n d i r e c t o r y b y d e f a u l t . D i r e c t o r y w i l l b e c r e a t e d i f i t d o e s n o t e x i s t . W a r n i n g : e x i s t i n g d a t a i n t h e d i r e c t o r y w i l l b e e r a s e d u n l e s s ` - k ` i s p r o v i d e d . ) (If not provided, the dataset will be downloaded to the SCT installation directory by default. Directory will be created if it does not exist. Warning: existing data in the directory will be erased unless -k is provided.)

-k

K e e p e x i s t i n g d a t a i n d e s t i n a t i o n d i r e c t o r y . Keep existing data in destination directory.

D e f a u l t : ` ` F a l s e ` ` Default: False

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