🔵 🔵 🔵


Primary

၊၊||၊|။

Fit.goodness() ⚬|docu|1st|20251021194727-00-⌔

FitManager — PyXspec 2.1.5 documentation#xspec.FitManager.goodness

goodness(nRealizations=100, sim=False, fit='fit')

Perform a Monte Carlo calculation of the goodness-of-fit.

Args:

nRealizations: Number of spectra to simulate[int].

sim: flag[bool]

If False (default), all simulations are drawn from the best fit model parameter values. If True, parameters will be drawn from a Gaussian centered on the best fit.

fit: switch indicating fitting will be performed[string]

Only “fit” and “nofit” are accepted. Default is “fit” (fitting will be performed).

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •