-
Notifications
You must be signed in to change notification settings - Fork 3
Implement the cacheing option for the CCA response function #78
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Related Code
Motivation
- The time bottleneck of the current CCA response function is in building the 2-dimensional (
$\theta_{\text{start}}$ -$r_{\text{start}}$ space) PDF and the application of the trapping efficiency to that 2D PDF.- The default configuration takes ~10 min to build the 2D PDF. Sampling the variables doesn't take a second.
- What if we can save and load the prebuilt 2D PDF? That will speed up the processor a lot!
Things to Implement
- I/O functionality of the
SpatialSampler.- It should save the configuration, the 2D PDF, and other stuff.
- Make
SpatialSamplerto be initializable from the savedSpatialSamplerfile. - Optional: a cache look-up method.
- Compare the cached
SpatialSamplers with the provided configuration. If a perfectly matched cache is found, then load it and skip the 2D PDF building process.
- Compare the cached
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers