kilopop.population_priors.draw_viewing_angle

kilopop.population_priors.draw_viewing_angle(output_shape=None)[source]

Set the observer viewing-angle.

Function draw the observer angle at which the kilonovae is observed. This is drawn assuming uniform distribution of binary orbital plane alignment in the Universe and making the equivalence of the observer angle and the polar angle of the kNe, due to assumed axisymmetry about the normal axis to the binary merger plane.

Parameters:

output_shape (float or tuple) – The shape/size of the array to be created of viewing_angles

Returns:

viewing_angle – The observer viewing angle, i.e., inclination, with respect to the binary merger plane.

Return type:

float or ndarray