GEMScienceTools / oq-mbtk

OpenQuake Model Building Toolkit, a suite of tools for building components and analysing models for PSHA.
https://gemsciencetools.github.io/oq-mbtk/index.html
GNU Affero General Public License v3.0
15 stars 8 forks source link

Added fix to residual_plotter functions where if one imt only is cons… #296

Closed CB-quakemodel closed 1 year ago

CB-quakemodel commented 1 year ago

…idered, the gmpe ranking metrics wrt period functions will not be able to convert imt_list to floats. Error is now raised if trying to plot wrt spectral period when only one imt considered + residual probability density function table output now still works if one imt considered only.