Package ivs :: Package sed :: Module builder :: Class Calibrator
[hide private]
[frames] | no frames]

Class Calibrator

source code


Convenience class for a photometric standard star or calibrator.

Instance Methods [hide private]
 
__init__(self, ID=None, photfile=None, plx=None, load_fits=False, label='', library='calspec')
Initialize SED class.
source code

Inherited from SED: __repr__, __str__, generate_ranges

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

    Handling photometric data

Inherited from SED: add_photometry_fromarrays, exclude, exclude_abs, exclude_colors, get_photometry, get_spectrophotometry, include, include_abs, include_colors, set_photometry_scheme

    Additional information

Inherited from SED: compute_distance, get_angular_diameter, get_distance_from_plx, get_interstellar_reddening, has_photfile, is_target

    Fitting routines

Inherited from SED: calculateDF, calculate_confidence_intervals, calculate_iminimize_CI, calculate_iminimize_CI2D, calculate_statistics, clip_grid, collect_results, generate_fit_param, igrid_search, imc, iminimize, store_confidence_intervals

Inherited from SED (private): _get_imin_ci

    Interfaces

Inherited from SED: chi2, clear, get_model, sample_gridsearch, set_best_model, set_model

    Add constraints

Inherited from SED: add_constraint_angular_diameter, add_constraint_distance, add_constraint_evolution_models, add_constraint_mass, add_constraint_reddening, add_constraint_slo

    Plotting routines

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 (private): _label_dict

    Input and output

Inherited from SED: load_fits, load_hdf5, load_photometry, save_bibtex, save_fits, save_hdf5, save_important_info, save_photometry, save_summary

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ID=None, photfile=None, plx=None, load_fits=False, label='', library='calspec')
(Constructor)

source code 

Initialize SED class.

Different ways to initialize:

1. If no previous data are saved:

>>> mysed = SED('HD129929')

2. If previous data exists:

>>> #mysed = SED(photfile='HD129929.phot') # will set ID with 'oname' field from SIMBAD
>>> #mysed = SED(ID='bla', photfile='HD129929.phot') # Sets custom ID

The ID variable is used internally to look up data, so it should be something SIMBAD understands and that designates the target.

Parameters:
  • plx - parallax (and error) of the object
Overrides: object.__init__
(inherited documentation)