larsgeb / hmclab

BSD 3-Clause "New" or "Revised" License
23 stars 0 forks source link

The scope of the project #3

Closed larsgeb closed 3 years ago

larsgeb commented 5 years ago

Andrea

I guess now comes the difficult part: to make decisions about what to put in the code and what kind of problems to address. For instance, do we want to have the core routines in e.g. C++ and then wrap everything in Python or mostly Python, and what about parallelization? My doubt right know is: should I code a high-performance version of HMC tomography and then wrap that in Python or should I keep the two things separate? My idea is that this package should be able to solve decent-size problems and be easy to use. If it's only a toy code I think people would tend to lose interest, thinking it's just a fancy but useless strategy.

larsgeb commented 5 years ago

I think we should decouple the forward/adjoint modules as much as possible from the sampler code. If we ensure that the sampler itself works properly on both laptops and HPC machinery, users are free to play with the actual physics / inverse problem.

To determine if you have to rewrite the non-linear HMC-tomography code:

Optimally, it would be fast enough to be relevant, but easy enough to get it to work.