Chi Squared Fitting

Documentation TBA.

mcfost.sed_chisqr(modelresults, observations, dof=1, write=True, plot=True, save=True, vary_distance=False, distance_range=None, vary_AV=False, AV_range=[0, 10], **kwargs)

Compute chi^2 for a given model

Not written yet - this is just a placeholder

Parameters :

dof : int

Number of degrees of freedom to use in computing the reduced chi^2. Will be incremented appropriately if vary_distance or vary_AV are set.

vary_distance : bool

Allow the distance to the target to vary

distance_range : 2 element iterable

Min and max allowable distance, in pc

vary_AV : bool

Allow optical extinction (A_V) to vary

AV_range : 2 element iterable

Min and max allowable A_V

RV : float

Reddening law color parameter for extinction

write : bool

Write output to disk as chi^2 results FITS file in the model directory? Default is True

save : bool

Save results to disk as FITS bintable? Default is True.

plot : bool

Display plot of chi^2 fit?

mcfost.image_chisqr(modelresults, observations, wavelength=None, write=True, normalization='total', registration='integer_pixel_shift')

Not written yet - this is just a placeholder

Parameters :

wavelength : float

Wavelength of the image to compute the chi squared of.

write : bool

If set, write output to a file, in addition to displaying on screen.

Previous topic

Additional Display & Plotting Tools

This Page