Adding a class to convert HU units to density
This MR aims to add a class which permits (easy) conversion from an array of HU values to density values.
The lookup table is user dependent and resembles that found in tests/data/CTUtils/sample_data.csv This format is generally what is provided by manufacturers
Noteworthy points:
- Currently, the format is only CSV or direct Dataframe as input
- The
ConvertHUToDensity
class is rather bare-bones and could afford to be extended
TODO:
-
Documentation -
Further tests with the improper file format(?) -
Implementation of other readers (space/tab-delimited) (unsure if should be blocking merge)