AustralianCancerDataNetwork / pydicer

PYthon Dicom Image ConvertER
https://australiancancerdatanetwork.github.io/pydicer/
Apache License 2.0
20 stars 5 forks source link

Rework preprocess and convert to use a DataFrame Structure #47

Closed pchlap closed 3 years ago

pchlap commented 3 years ago

Hello @rnfinnegan @dalmouiee @ShuchaoPangUNSW @ayhaidar

As discussed in our last meeting (#40), here is some code to utilise a Pandas DataFrame as the object to pass between the preprocess module and the convert module. The change was pretty smooth. I quite like having this type of data object, since you can save it off for debugging etc really nicely. I imaging that down the road we can add more columns to it as needed.

I'd be very interested to hear your thoughts. Please add a code review (even if just to practice using GitHub's code reviews :))