Shock

class mosfit.modules.Shock(**kwargs)[source]

Bases: Engine

Cooling emission from shock-heated cocoon.

Follows Piro and Kollmeier 2018.

Shock heating can be turned off in bns model by setting shock_frac=0 or cos_theta_cocoon=1

Uses softmax (tanh) function to turn off cocoon for t > t_thin (no material left to cool)

Attributes Summary

C_KMS

DIFF_CONST

Methods Summary

process(**kwargs)

Process module.

Attributes Documentation

C_KMS = 299792.458
DIFF_CONST = 5.278246385500719e+16

Methods Documentation

process(**kwargs)[source]

Process module.