You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A relatively common use case is plotting flux points and butterfly plot corrected for the EBL absorption (i.e. plotting the de-absorbed model). To properly work, this requires that the covariance is properly handled. We probably need to cover this use case somewhere in the documentation and there might be some issues in the code.
First, currently covariance handling is documented here:
Second, that contrary to what the documentation seems to imply, the covariance matrix is not fully propagated from the CompoundSpectralModel to its submodels model1 and model2. Only the diagonal terms are but not the correlations. This might be a bug (see below an example: opinion @adonath , @QRemy ?). A minima this requires improved documentation on how to handle this specific situation.
Third, we might provide a specific tutorial/recipe/howto on how to plot de-absorbed spectra. The case of a fixed redshift/alpha parameter is not too complex (modulo the covariance issue above). The case of an EBL model with a free parameter is likely more complex to handle and we might not want to cover it for now.
A relatively common use case is plotting flux points and butterfly plot corrected for the EBL absorption (i.e. plotting the de-absorbed model). To properly work, this requires that the covariance is properly handled. We probably need to cover this use case somewhere in the documentation and there might be some issues in the code.
First, currently covariance handling is documented here:
The documentation might be improved here.
Second, that contrary to what the documentation seems to imply, the covariance matrix is not fully propagated from the
CompoundSpectralModel
to its submodelsmodel1
andmodel2
. Only the diagonal terms are but not the correlations. This might be a bug (see below an example: opinion @adonath , @QRemy ?). A minima this requires improved documentation on how to handle this specific situation.Third, we might provide a specific tutorial/recipe/howto on how to plot de-absorbed spectra. The case of a fixed redshift/alpha parameter is not too complex (modulo the covariance issue above). The case of an EBL model with a free parameter is likely more complex to handle and we might not want to cover it for now.
To reproduce:
The text was updated successfully, but these errors were encountered: