gen_shocks#

radiosim.mojave.gen_shocks(jet: ndarray, shock_comp: int, length: float, width: float, sx: float, rng: Generator) tuple[ndarray, tuple, int][source]#

Generate equally spaced shocks in jet.

Parameters:
jetarray_like

generated jet without shock

shock_compint

max amount of shocks

lengthfloat

length of jet

widthfloat

width of jet

sxfloat

sx component of main gaussian

rngGenerator

numpy random generator

Returns:
jetarray_like

jet with shock components

printout_informationtuple

information about each component

skippedint

amount of skipped shock components