SBART.template_creation.telluric_templates.telluric_from_tapas#
Classes
Create transmittance spectrum from TAPAS web-interface |
- class TapasTelluric#
Bases:
TelluricTemplate
Create transmittance spectrum from TAPAS web-interface
This class also provides an interface to automatically request and download data from the TAPAS user interface.
User parameters:
Parameter name
Mandatory
Default Value
Valid Values
Comment
user_info
False
[“”, “”]
[1]
download_tapas
False
True
boolean
[2]
download_path
True
string
[3]
timeout
False
10
int >= 0
[4]
request_interval
False
60
int >= 0
[5]
[1]: List with two entries: tapas username and password. If the password is not provided, the class will ask the user for it
[2]: If False, this class won’t request data from TAPAS
[3]: Path in which the Tapas is (or will be) stored
[4]: Maximum number of minutes during which we are waiting for a response from TAPAS
[5]: Time (in seconds) between attempts to contact TAPAS webserver.
Note
Also check the User parameters of the parent classes for further customization options of SBART
Note
Don’t use a very short interval in the “request_interval” parameter to avoid spamming TAPAS server!
- method_name = 'Tapas'#
- __init__(subInst, user_configs=None, extension_mode='lines', application_mode='removal', loaded=False)#
- Parameters:
extension_mode (str, optional) – How to handle with Earth motion during the year. If ‘lines’, compute the template in each possible location for the available observations and only remove the. If “window”, each telluric feature will be extended by a region equal to the maximum BERV. By default: ‘lines’
- fit_telluric_model_to_frame(frame)#
- create_telluric_template(*args, **kwargs)#