def findStars(self, current = None): sources = [] self.obsMode.find_stars(False) for i in self.obsMode.stars: azel = self.obsMode.stars[i]['azel'] azels = ARIAPI.astro(i, azel[0], azel[1]) sources.append(azels) return sources
def findStars(self, current=None): sources = [] self.obsMode.find_stars(False) for i in self.obsMode.stars: azel = self.obsMode.stars[i]['azel'] azels = ARIAPI.astro(i, azel[0], azel[1]) sources.append(azels) return sources
def findRaDecSources(self, current = None): sources = [] self.obsMode.find_radec(False) for i in self.obsMode.radecSources: azel = self.obsMode.radecSources[i]['azel'] azels = ARIAPI.astro(i, azel[0], azel[1]) sources.append(azels) print sources return sources
def findRaDecSources(self, current=None): sources = [] self.obsMode.find_radec(False) for i in self.obsMode.radecSources: azel = self.obsMode.radecSources[i]['azel'] azels = ARIAPI.astro(i, azel[0], azel[1]) sources.append(azels) print sources return sources