#This is the FAQ template # Make sure you "Add to" CategoryFaq <> = How do I know what phase-encode vectors to put into my --datain text file? = Below you see four examples of images acquired with different phase encoding. Below the images you see what you would find in the PDF protocol generated on a Siemens scanner for these acquisitions. Unfortunately I don't have enough experience of other scanner manufacturers to know where to find the information from those. If you are uncertain about how to create your own [[topup/TopupUsersGuide#datain|--datain]] file I suggest you get your scanner protocol, load your images into FSLVIEW and then find which of the images below that looks most like then one you have. When you have done that compare the "Phase enc." entry below that image with that in your protocol. When you are happy that you have found the right column you can use the three first values from the vector below the image. Finally look up the "Echo spacing" and "EPI factor" entries in your protocol and calculate the fourth column from the formula {{attachment:topup_faq_eq1.png||align="centre",width=200}} where S,,E,, is the echo spacing in ms and F,,EPI,, is the EPI factor. || What you see in FSLVIEW ||{{attachment:P_2_A.jpg||align="centre",width=150}}||{{attachment:A_2_P.jpg||align="centre",width=150}}||{{attachment:R_2_L.jpg||align="centre",width=150}}||{{attachment:L_2_R.jpg||align="centre",width=150}}|| || In Siemens protocol ||Phase enc. dir. P >> A<
>Echo spacing 0.75 [ms]<
>EPI factor 128||Phase enc. dir. A >> P<
>Echo spacing 0.75 [ms]<
>EPI factor 128||Phase enc. dir. R >> L<
>Echo spacing 0.96 [ms]<
>EPI factor 128||Phase enc. dir. L >> R<
>Echo spacing 0.96 [ms]<
>EPI factor 128|| || In [[topup/TopupUsersGuide#datain|--datain]] file || 0 1 0 0.095 || 0 -1 0 0.095 || 1 0 0 0.122 || -1 0 0 0.122 ||