Target#
- class Target#
Bases:
object
Represents an observed object. This class provides an interface to handle data sanitization and simbad lookups for the targets that we load from the S2D files.
TODO list: - [ ] Allow for the comparison of two different targets - [ ] Improve docs and interfaces of the class
- __init__(target_list, original_name=None)#
- Parameters:
target_list (List[str]) – List of target names that have been collected across all files that have been loaded from disk.
original_name (
Optional
[str
]) –
- clean_targ_list(target_list)#
- Return type:
list
- validate_target_list(targets)#
- property secular_acceleration#
Return the secular accelaration of the target star, as an astropy.Quantity object
- searchable_name(star)#
- property true_name#
Return the name of a target that is extracted from the header of the .fits files. This name can be overriden if the user provides a new name when instantiating this object
- property original_name#
This is the name that was present in the header of the files (i.e. disregard any kind of user-provided name)
- property json_ready: Dict[str, Any]#
- Return type:
Dict
[str
,Any
]