You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
It should save the configuration, the 2D PDF, and other stuff.
Make SpatialSampler to be initializable from the saved SpatialSampler file.
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.
Related Code
/processors/DataGenerator4D/SpatialSampler/SpatialSampler.pyMotivation
Things to Implement
SpatialSampler.SpatialSamplerto be initializable from the savedSpatialSamplerfile.SpatialSamplers with the provided configuration. If a perfectly matched cache is found, then load it and skip the 2D PDF building process.