def list_stars(self, print2screen=False):
"""
List all of the stars in all of the CCF interfaces
Parameters:
===========
- print2screen: bool
Should we print the stars and dates to screen?
Returns:
=========
- star_list: list
A list of every star in the file, sorted by name.
"""
stars = []
for inst in self._interfaces.keys():
if print2screen:
print('Stars observed with {}: \n============================\n\n'.format(inst))
stars.extend(self._interfaces[inst].list_stars(print2screen=print2screen))
return list(pd.unique(stars))
评论列表
文章目录