average_A_target#

MCEq.misc.average_A_target(mat='auto')[source]#

Average target mass number.

For air <A> = 14.6568 (using mass fractions from https://en.wikipedia.org/wiki/Atmosphere_of_Earth) Other media supported are co2, rock, ice, water, and hydrogen.

Parameters:

mat – str or float, optional Interaction medium or custom target mass number. Default is “auto”.

Returns:

float

Average target mass number.

Raises:

ValueError – If mat is not a valid option.