UCAC4.get_from_ids¶
- UCAC4.get_from_ids(ids)[source]¶
This is a generator which returns single records for each requested ID.
ids
should be iterable with each element being length 2 and returning zone, rnz.The yields will be the raw catalogue data.
- Parameters:
ids (Sequence | ndarray) – A sequence of star ids to retrieve from the catalogue. The ids are given by zone, rnz and should be input as an iterable that yields tuples (therefore if you have a dataframe you should do
df.itertuples(false)
- Returns:
An Iterable of Pandas dataframes with columns according to the catalogue columns.
- Return type:
Iterable[DataFrame]