Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to export analysis results #4

Open
kjappelbaum opened this issue May 22, 2018 · 2 comments
Open

Option to export analysis results #4

kjappelbaum opened this issue May 22, 2018 · 2 comments

Comments

@kjappelbaum
Copy link

What do you think about adding an option to export the LDM maps, e.g. using np.savetxt() to allow the users to replot the results of the analysis?

@gadorlhiac
Copy link
Owner

True, this is a good idea. In your fork I notice you are saving each array to an individual file which may be tedious though, e.g. sifting through 100+ files would be time consuming. A single text file, could work, given a format that specifies parameters at the beginning and groups the arrays by association, e.g. to an alpha value. Alternatively, it could be written to an hdf5 file with every array being saved, and the hierarchy being maintained. Do you think one of these ideas would work?

@kjappelbaum
Copy link
Author

Indeed, the solution I implemented yesterday was rather quick and dirty as I needed the data and then simply used a regex to extract the alphas from the filenames,.
hdf5 (using h5py) grouped by e.g. alphas indeed might be a good way to go.

The ideal final solution (for me) would also save some context like the analysis parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants