simetenn / uncertainpy

Uncertainpy: a Python toolbox for uncertainty quantification and sensitivity analysis, tailored towards computational neuroscience.
http://uncertainpy.readthedocs.io
GNU General Public License v3.0
220 stars 50 forks source link

load pandas dataframe or csv #27

Closed fab6 closed 5 years ago

fab6 commented 5 years ago

Hi, do you have an advice how to load a pandas dataframe or a csv file?

data = un.Data() data.load("filename") variance = data["nr_spikes"].variance

I actually would like to use uncertainpy mainly for post-processing. Thank you!

simetenn commented 5 years ago

Hi,

At the moment there is, unfortunately, no good method for loading a pandas dataframe or a CSV file. It is possible to manually add model evaluations to a Data object, but there is no support for performing calculations from existing data.

What type of postprocessing would you like to do? The reason I ask is that Uncertainpy needs to run the model for specific sets of model parameters, which depends on the used method as well as the problem. As such, Uncertainpy is probably not well suited for post-processing.

fab6 commented 5 years ago

Hi, ok, I think I see my misunderstanding now. Thank you!