EBME 460: Spin Visualization Tool for MRI


Data File Formatting Guide:


Header Formatting


Data should be stored in a .txt file.
The first line of the .txt file should be a string identifying the name of your sequence.
The second line of the .txt file should be the timestep used for your simulation. (in milliseconds)
Your simulation data should begin on the third line.

Data Formatting


The data section of the .txt file is occupied by chunks of data representing the change in magnetization vectors over time for various spins. Demarkate the beginning of a specific spin's data with the break character "|" on a new line. After this break character, each line in the text file should be occupied with a single Vector3 indicating the state of the current vector at a specific timepoint. Vectors should occupy the range from 0 to 1 and should be encoded as floating points with 6 decimals of precision in the following format, including parenthesis:
(x.xxxxxx, y.yyyyyy, z.zzzzzz)

Sample Data File

The following is a sample data file with three spins that don't change over time. Each points along a different axis.

SampleData
0.010000
|
(1.000000,0.000000,0.000000)
(1.000000,0.000000,0.000000)
(1.000000,0.000000,0.000000)
|
(0.000000,1.000000,1.000000)
(0.000000,1.000000,1.000000)
(0.000000,1.000000,1.000000)
|
(0.000000,0.000000,1.000000)
(0.000000,0.000000,1.000000)
(0.000000,0.000000,1.000000)



Copyright 2019. CWRU EBE 460. Contact apd47@case.edu for usage help or information.