Sorry if this is a dumb question, but I’m very new to slicer. I’m trying to code a python module that can display coordinates from a csv file. I know that you can do this with properly formatted csv files using the markup module, but I’d like to know how to do this from scratch. The goal is to create a module that allows me to select a csv file I upload to Slicer, append the required header, and then display the points.
Currently, I’m getting stuck on two steps. The first is figuring out how to get script to read whatever file I select with the ctkPathLineEdit widget. The second is figuring out how to display the data points after the csv file has been edited (this is the one I need the most help with). Any tips or hints?