|
|
__init__(self,
ID=None,
photfile=None,
plx=None,
load_fits=True,
load_hdf5=True,
label='',
**kwargs)
Setup the Binary sed in the same way as a normal SED. |
source code
|
|
|
|
|
|
|
constraints2str(self)
Summarizes all constraints in a string. |
source code
|
|
|
Inherited from SED:
__repr__,
__str__,
generate_ranges
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
Inherited from SED:
add_photometry_fromarrays,
exclude,
exclude_abs,
exclude_colors,
get_photometry,
get_spectrophotometry,
include,
include_abs,
include_colors,
set_photometry_scheme
|
|
Inherited from SED:
compute_distance,
get_angular_diameter,
get_distance_from_plx,
get_interstellar_reddening,
has_photfile,
is_target
|
|
|
igrid_search(self,
points=100000,
teffrange=None,
loggrange=None,
ebvrange=None,
zrange=None,
rvrange=(3.1,3.1),
vradrange=None,
df=None,
CI_limit=None,
set_model=True,
distance=None,
**kwargs)
Fit fundamental parameters at various phases simultaneously, using a
(pre-integrated) grid search. |
source code
|
|
|
|
generate_fit_param(self,
start_from='igrid_search',
**pars)
generates a dictionary with parameter information that can be handled
by fit.iminimize |
source code
|
|
|
|
|
|
|
|
|
|
iminimize(self,
teff=None,
logg=None,
ebv=None,
z=0,
rv=3.1,
vrad=0,
teffrange=None,
loggrange=None,
ebvrange=None,
zrange=None,
rvrange=None,
vradrange=None,
points=None,
distance=None,
start_from='igrid_search',
df=None,
CI_limit=None,
calc_ci=False,
set_model=True,
**kwargs)
Basic minimizer method for SED fitting implemented using the lmfit
library from sigproc.fit |
source code
|
|
|
|
| imc(self,
teffrange=None,
loggrange=None,
ebvrange=None,
zrange=None,
start_from='igrid_search',
distribution='uniform',
points=None,
fitmethod='fmin',
disturb=True) |
source code
|
|
|
Inherited from SED:
calculateDF,
calculate_confidence_intervals,
calculate_statistics,
clip_grid,
collect_results,
store_confidence_intervals
|
|
|
|
|
Inherited from SED:
chi2,
clear,
get_model,
sample_gridsearch,
set_model
|
|
Inherited from SED:
add_constraint_angular_diameter,
add_constraint_distance,
add_constraint_evolution_models,
add_constraint_mass,
add_constraint_reddening,
add_constraint_slo
|
|
|
plot_sed(self,
colors=False,
mtype='igrid_search',
plot_redded=True,
plot_deredded=False,
plot_unselected=True,
wave_units='AA',
flux_units='erg/s/cm2',
**kwargs)
Plot a fitted SED together with the data. |
source code
|
|
|
Inherited from SED:
make_plots,
plot_CI2D,
plot_MW_side,
plot_MW_top,
plot_chi2,
plot_data,
plot_distance,
plot_finderchart,
plot_grid,
plot_grid_model
|
|
Inherited from SED:
load_fits,
load_hdf5,
load_photometry,
save_bibtex,
save_fits,
save_hdf5,
save_important_info,
save_photometry,
save_summary
|