ITADN

gamma_minimal doesn't work in get_peak_survival_fraction

#157Openverenaaur 创建于 2025-06-24
bug
V
verenaaurcommented
you can choose from different fit functions in `get_peak_survival_fraction` but `gamma_minimal = (x, v) -> gamma_peakshape(x, v.μ, v.σ, v.n, 0.0, 0.0, 0.0, v.background)`causes the following error: Errors: `type NamedTuple has no field skew_fraction` and `type NamedTuple has no field skew_width` Issue: `NamedTuple` of `gamma_minimal` in `get_standard_pseudo_prior` of `pseudo_priors.jl` does not contain `skew_fraction` and `skew_width` (both are positional arguments in the function `gamma_peakshape`) Note: `gamma_minimal` does work in `get_peak_survival_fraction` with the changes in https://github.com/verenaaur/LegendSpecFits.jl/tree/gamma_min-fix but unsure if this approach is correct
0 条评论