jrkerns / pylinac

An image analysis library for medical physics
MIT License
146 stars 94 forks source link

Converting Trajectory logs to CSV with R #330

Closed cl49 closed 3 years ago

cl49 commented 3 years ago

Converting Trajectory logs to CSV is made possible with pylinac with "log.to_csv()" function. Has anyone been aware of the same function with the R language? If not, how can I know the content of the log.to_csv() function in order to program it in R?

Many thanks in advance,

Christof

randlet commented 3 years ago

@cl49 I don't know about R (it's not nearly as widely used in MedPhys as Python, so I suspect not) but the code for the Trajectory Log functionality, including to_csv is here: https://github.com/jrkerns/pylinac/blob/master/pylinac/log_analyzer.py