-
Notifications
You must be signed in to change notification settings - Fork 3
Create a T2
Mickael Rigault edited this page Jan 5, 2018
·
2 revisions
The input of any T2 module is a Transient
.
The typical methods of Transient
are:
- get_radec(*args, **kwargs) # this could be a list of RA/Dec
- get_photopoint(*args, **kwargs) # Photopoint or list of
- get_t2results(*args, **kwargs) # queries already ran T2 module results
It returns a dictionary of key values (no object instances inside). That means, you dictionaries must be serializable, so for simplicity, the output dictionary should only contains:
- float / int / string (or any native python variable)
- list [], () # warning no numpy array
- dictionary {}
@valery: Please add link to Transient
object