ishockpy.shell module¶
- class ishockpy.shell.Shell(initial_gamma: float, initial_mass: float, initial_radius: float, jet)[source]¶
Bases:
object
- collide_shell(other_shell)[source]¶
FIXME! briefly describe function
- Parameters
other_shell –
- Returns
- Return type
- property energy: float¶
- property gamma: float¶
- property history: ishockpy.shell_history.ShellHistory¶
- property id: int¶
- property is_active: bool¶
- property mass: float¶
- property radius: float¶
the comoving radius of the shell in cm
- property status: bool¶
- property velocity: float¶
get the velocity in cm/s
- class ishockpy.shell.ShellSet(list_of_shells: List[ishockpy.shell.Shell])[source]¶
Bases:
object
- property active_shells: List[ishockpy.shell.Shell]¶
- property gamma_distribution¶
- property n_active_shells: int¶
- property n_shells¶
- property radii: List[float]¶
- property time_to_collisions: List[float]¶
- property velocities: List[float]¶
- property velocity_ordered_shells: List[ishockpy.shell.Shell]¶
return the active shells that are ordered in velocity