Getting Started#

Installation#

To install the package, run the following command:

pip install artof

Example#

Import the ARTOFLoader class

from artof import ARTOFLoader

Load run and transformed to desired format. The path should lead to a directory with all datafiles and metadata files (aquisition.cfg)

artofLoader = ARTOFLoader('./Run_042/', 'spherical')
artofLoader.transform_data()

Bin data (this step can be re-executed indepently of load_run)

artofLoader.bin_data()

Plot data as projection onto one or two axes and custom ranges for each axis

artofLoader.plot([2])
artofLoader.plot([0,1], ranges=[None, None, [80, 120]])

Export data to a file in the same manner as plotting it.

artofLoader.export_to_csv('./export/Run_18_t.csv', [2])
artofLoader.export_to_csv('./export/Run_18_t.csv', [0,1], ranges=[None, None, [80, 120]])

An example notebook can be found here.