Pipeline to process cytokine data, extract integral features, train a neural network, and parameterize the latent space
To process the data, run the script named "cytokine-pipeline-gui.py" (type ./cytokine-pipeline-gui.py from the terminal)
When running for the first time, or when a new experiment needs to be added, drop the raw dataframe in data/current/, then press:
- Option 1
- Option 2
- Select select the "create" option
To plot splines, press
- Option 2
- Select the "plot" option. Only select datasets that have the same levels (error box will show if they do not)
- Will appear in figures/splines
To create neural networks, press
- Option 3
- Follow prompts; remember to name your training dataset something meaningful; datasets will show under output/trained-networks
- You will always be asked to plot your trained datasets; plots will show underneath figures/latent-spaces
To project datasets on trained neural networks:
- Option 4
- First select trained network to project with, then select dataset type to project on. WT datasets are training datasets. Plots will show under figures/latent-spaces
To parameterize datasets using a constant velocity or force fit:
- Option 5
- Choose training network to project with and dataset type to project on just like when plotting, then select fitType, and parameter (t0, v0 etc.) or parameterSpace (projection compared to fit) options
- Plots will show under figures/parameter-spaces
- Dataframes will show under output/parameter-dataframes or output/parameter-space-dataframes
Post processing files are
- geometrical_features.py
- reconstruction.py
In notebooks/ there are notebooks to play with the parameterization of latent space (parameterization.ipynb & plot_parameterization.ipynb)