class RunQuery: def viewQueryResults(self, longitude, latitude, radiusMultiplier): self.query = SDSSQuery(longitude, latitude, radiusMultiplier) return self.query.standardQuery() def viewSpectraResults(self, longitude, latitude, radiusMultiplier): self.query = SDSSQuery(longitude, latitude, radiusMultiplier) return self.query.querySpectra() def recedingVelocity(self, longitude, latitude, radiusMultiplier): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.runRecedingVelocity() def objectVelocityData(self, longitude, latitude, radiusMultiplier): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.writeData() def objectSpeedLightPercent(self, longitude, latitude, radiusMultiplier, targetID): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.runSpeedLightPercent(targetID) def lumDistance(self, longitude, latitude, radiusMultiplier, targetID): self.result = LuminosityDistance(longitude, latitude, radiusMultiplier) return self.result.runLuminosityDistance(targetID) def plotMagnitudes(self, latitude, longitude, radiusMultiplier): self.result = ObjectMagnitudes(latitude, longitude, radiusMultiplier) return self.result.runObjectMagnitudes() def magnitudeData(self, longitude, latitude, radiusMultiplier): self.result = ObjectMagnitudes(longitude, latitude, radiusMultiplier) return self.result.writeData() def plotHRDiagram(self, latitude, longitude, radiusMultiplier): self.result = HRDiagram(latitude, longitude, radiusMultiplier) self.result.runHRDiagram()
def plotHRDiagram(self, latitude, longitude, radiusMultiplier): self.result = HRDiagram(latitude, longitude, radiusMultiplier) self.result.runHRDiagram()
def magnitudeData(self, longitude, latitude, radiusMultiplier): self.result = ObjectMagnitudes(longitude, latitude, radiusMultiplier) return self.result.writeData()
def plotMagnitudes(self, latitude, longitude, radiusMultiplier): self.result = ObjectMagnitudes(latitude, longitude, radiusMultiplier) return self.result.runObjectMagnitudes()
def lumDistance(self, longitude, latitude, radiusMultiplier, targetID): self.result = LuminosityDistance(longitude, latitude, radiusMultiplier) return self.result.runLuminosityDistance(targetID)
def objectSpeedLightPercent(self, longitude, latitude, radiusMultiplier, targetID): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.runSpeedLightPercent(targetID)
def objectVelocityData(self, longitude, latitude, radiusMultiplier): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.writeData()
def recedingVelocity(self, longitude, latitude, radiusMultiplier): self.result = RecedingVelocity(longitude, latitude, radiusMultiplier) return self.result.runRecedingVelocity()