diff --git a/sunkit_instruments/response/__init__.py b/sunkit_instruments/response/__init__.py index b6493423..df185d83 100644 --- a/sunkit_instruments/response/__init__.py +++ b/sunkit_instruments/response/__init__.py @@ -2,4 +2,4 @@ A subpackage for computing instrument responses """ -from sunkit_instruments.response.thermal import * +from sunkit_instruments.response.thermal import SourceSpectra, get_temperature_response diff --git a/sunkit_instruments/response/thermal.py b/sunkit_instruments/response/thermal.py index 382b6f64..f24af50a 100644 --- a/sunkit_instruments/response/thermal.py +++ b/sunkit_instruments/response/thermal.py @@ -15,9 +15,18 @@ def get_temperature_response(channel, spectra, obstime=None): Parameters ---------- - channel: `~sunkit_instruments.` + channel: `~sunkit_instruments.response.abstractions.AbstractChannel` spectra: `~sunkit_instruments.response.SourceSpectra` obstime: any format parsed by `sunpy.time.parse_time`, optional + + Returns + ------- + temperature: `~astropy.units.Quantity` + response: `~astropy.units.Quantity` + + See Also + -------- + sunkit_instruments.response.SourceSpectra.temperature_response """ return spectra.temperature, spectra.temperature_response(channel, obstime=obstime)