mclaughlin6464 / pearce

A (better structured) package that implements the calculation of mock cosmological observables and their emulation.
MIT License
0 stars 1 forks source link

Pickle computed kernels? #8

Open mclaughlin6464 opened 7 years ago

mclaughlin6464 commented 7 years ago

Building the kernel is annoyingly slow. It'd be nice if I could somehow pickle ones that have been computed. However, I don't know if that'll help much, since loading a several GB array may be just as slow as computing it. I also am not sure what unique identifying information could be used to pin a unique kernel. Additionally, should I pickle the kernel, or the whole Emu object? Or Define a scheme to load a pickled emu from file? This is something similar to what I'd want to do for software release, so that may be where I want to go.