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
Linear interpolation scheme for gridding Czjzek/Extended Czjzek/User-defined distributions.
The current implementation of the probability distribution uses np.histogram2d function to grid 400000 samples (default) over a two-dimensional grid. The histogram function generates a discrete non-continuous distribution which is okay for one-time calculation but is not optimal when used iteratively in a least-squares problem.
Proposed Solution
Use linear interpolation approximation to generate a smooth and continuous probability distribution.
The text was updated successfully, but these errors were encountered:
Prototyping for a 2d interpolation scheme has been completed and applied towards least-squares minimization of Czjzek and Extended Czjzek models. Although 2d linear interpolation for random sampling on a grid does make a smoother distribution, the nature of random sampling (even with linear interpolation) makes the chi-squared surface non-analytical and discontinuous.
Regardless, it may be useful to include functions for two- and three-dimensional linear interpolation. @deepanshs I have code written to perform these functions, although it still needs further testing to ensure coverage. Other simulation features should be prioritized over this issue.
Linear interpolation scheme for gridding Czjzek/Extended Czjzek/User-defined distributions.
The current implementation of the probability distribution uses
np.histogram2d
function to grid 400000 samples (default) over a two-dimensional grid. The histogram function generates a discrete non-continuous distribution which is okay for one-time calculation but is not optimal when used iteratively in a least-squares problem.Proposed Solution
Use linear interpolation approximation to generate a smooth and continuous probability distribution.
The text was updated successfully, but these errors were encountered: