weights.py

geminids.weights.cume_mass(m, m0=1e-09, m1=10, s=1.68)

Returns the value of the cumulative mass distribution function for a power law distribution with power law index s at m

Parameters:
  • m (float or array-like) – The mass(es) of the particles

  • m0 (float, optional) – The mass that should map to 0 on the distribution function. Defaults to m0.

  • m1 (float, optional) – The mass that should map to 1 on the distribution function. Defaults to m1.

  • s (float, optional) – The powerlaw index of the distribution function. Defaults to 1.68.

Returns:

y (float) – The value of the cumulative distribution function evaluated at m

geminids.weights.weight_cometary(b, r, t)

Returns the relative weight of the particles for the cometery creation model

Parameters:
  • b (ndarray) – The beta values of the particles

  • r (ndarray) – The radial distances from the sun the particles were released at

  • t (ndarray) – The amount of time the particle spent being represented by this release point

Returns:

weights (ndarray) – The relative weights of the particles

geminids.weights.weight_novel(b)

Returns the relative weight of the particles for the base model

Parameters:

b (ndarray) – The beta values of the particles

Returns:

weights (ndarray) – The relative weights of the particles

geminids.weights.weight_novelc(b)

Returns the relative weight of the particles for the base model but assuming a young cometary composition

Parameters:

b (ndarray) – The beta values of the particles

Returns:

weights (ndarray) – The relative weights of the particles

geminids.weights.weight_vel(b)

Returns the relative weight of the particles for the violent creation model

Parameters:

b (ndarray) – The beta values of the particles

Returns:

weights (ndarray) – The relative weights of the particles