Creating plotter functionality

This commit is contained in:
Alberto 2022-09-29 19:15:37 +02:00
parent 029e418260
commit 003621af6b
2 changed files with 30 additions and 0 deletions

24
Plotter/run_plotter.py Normal file
View File

@ -0,0 +1,24 @@
# Python Imports
import typer
def main(
input_data: str = typer.Option(..., "--input-data", "-i"),
plot_type: str = typer.Option(..., "--plot-type", "-p"),
plot_settings: str = typer.Option(..., "--plot-settings", "-s"),
):
# Parse data file
print("")
# Accept plot type
# Handle Plot arguments
'''
import foo
bar = getattr(foo, 'bar')
result = bar()
'''
if __name__ == '__main__':
typer.run(main)

View File

@ -0,0 +1,6 @@
class SimulationData:
def __init__(self, dataframe):
self._dataframe = dataframe