|
|
__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),(3.1,3.1)),
vradrange=((0,0),(0,0)),
radrange=(None,None),
compare=True,
df=None,
CI_limit=None,
set_model=True,
distance=None,
**kwargs)
Fit fundamental parameters 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,None),
logg=(None,None),
ebv=(None,None),
z=(None,None),
rv=(None,None),
vrad=(0,0),
teffrange=(None,None),
loggrange=(None,None),
ebvrange=(None,None),
zrange=(None,None),
rvrange=(None,None),
vradrange=(None,None),
radrange=(None,None),
compare=True,
df=None,
distance=None,
start_from='igrid_search',
points=None,
CI_limit=None,
calc_ci=True,
set_model=True,
**kwargs)
Binary minimizer |
source code
|
|
|
|
calculate_iminimize_CI(self,
mtype='iminimize',
CI_limit=0.66,
**kwargs)
Calculate the confidence intervals for each parameter using the lmfit
calculate confidence interval method. |
source code
|
|
|
|
calculate_iminimize_CI2D(self,
xpar,
ypar,
mtype='iminimize',
limits=None,
res=10,
**kwargs)
Calculated 2 dimentional confidence intervals for the given
parameters, using lmfit methods. |
source code
|
|
|
Inherited from SED:
calculateDF,
calculate_confidence_intervals,
calculate_statistics,
clip_grid,
collect_results,
imc,
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
|
|
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,
plot_sed
|
|
Inherited from SED:
load_fits,
load_hdf5,
load_photometry,
save_bibtex,
save_fits,
save_hdf5,
save_important_info,
save_photometry,
save_summary
|