- class craftutils.observation.objects.Object(craftutils.observation.generic.Generic)
Public members¶
-
optical =
False
-
radio =
False
- Object(name: ~typing.Optional[str] = None, ...)
Initialize self. See help(type(self)) for accurate signature.
- __str__()
Return str(self).
- __repr__()
Return repr(self).
-
position_from_cat_row(cat_row: Row | None =
None)
- add_photometry(instrument: str | Instrument, fil: str | Filter, ...)
- find_in_cat(cat_name: str)
-
check_data_path(make: bool =
True)
-
write_plot_photometry(output: str | None =
None, **kwargs) Plots available photometry (mag v lambda_eff) and writes to disk.
-
plot_photometry_time(ax: Axes | None =
None, ...) axes
-
plot_photometry(ax: axes | None =
None, ...) axes Plots available photometry (mag v lambda_eff). :param ax: matplotlib ax object to plot with. A new object is generated if none is provided. :param kwargs: :return: matplotlib ax object containing plot info
-
build_photometry_table_path(best: bool =
False)
-
photometry_to_table(output: str | None =
None, ...) Converts the photometry information, which is stored internally as a dictionary, into an astropy QTable. :param output: Where to write table. :return:
-
galactic_extinction(fil: Filter, r_v: float =
3.1, ...)
-
apply_galactic_extinction(r_v: float =
3.1, **kwargs)
-
retrieve_extinction_table(force: bool =
False)
-
load_extinction_table(force: bool =
False)
-
jname(ra_precision=
2, dec_precision=1)
-
get_photometry_table(output: bool =
False, best: bool =False, ...)
- select_photometry(fil: str, instrument: str, ...)
- select_photometry_sep(fil: str, instrument: str, ...)
-
select_psf_photometry(local_output: bool =
True)
-
select_best_position(local_output: bool =
True)
-
select_deepest(local_output: bool =
True)
-
select_deepest_sep(local_output: bool =
True) dict | None
- assemble_row(**kwargs)
- push_to_table(**kwargs)
- classmethod default_params()
-
to_param_yaml(path: str | None =
None, keep_old: bool =False)
- classmethod from_dict(dictionary: dict, **kwargs)
Construct an Object or appropriate child class (FRB, Galaxy…) from a passed dict.
- classmethod select_child_class(obj_type: str)
- classmethod from_source_extractor_row(row: Row, ...)
- update_param_file(param: str)
-
optical =