xopto.pf.util.pfpolygonmpc module¶
- class MPcPolygon(n_lim=(0.0, 100.0), beta_lim=(0.0, 1.0), n=5000, verbose=False, filename=None)[source]¶
Bases:
xopto.pf.util.pfpolygonbase.GammaDeltaPolygonBase
Creates an object for fast polygon-based validation of the MPc scattering phase function domain.
- Parameters
n_lim (tuple) – Range of parameter n of the MPC scattering phase function.
beta_lim (tuple) – Range of parameter beta of the MPC scattering phase function.
n (int) – Number of points along each border of the domain.
verbose (bool) – Print progress information to stdout.
filename (str) – Load polygon data from a file. See the static method
fromfile()
.
- DEFAULT_POLYGON_FILE = 'mpc_polygon.npz'¶
- NUM_POINTS = 100000¶