-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsps.py
31 lines (22 loc) · 967 Bytes
/
sps.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- coding: utf-8 -*-
"""This is a settings file for Absorption Spectrum Calculator
"""
from typing import Dict, Union
file: str = 'ds.csv' # file, that contains experimental spectrum
settings: Dict[str, Union[int, float]] = {
'pressure': 1, # pressure in atm
'vnmin': 7188.7, # Min wavenumber
'vnmax': 7190, # Max wavenumber
'tmin': 250, # Min temperature
'tmax': 1500, # Max temperature
'dt': 50, # Temperature resolution (less - slower)
}
substance: Dict[str, Union[str, float]] = {
'TableName': 'H20', # for different substances use different tables (table names)
'molNumber': 1, # HITRAN Mulecule ID. For regular H2O it is 1. For more see: https://hitran.org/docs/molec-meta/
'isID': 1, # HITRAN Isotopologue ID. For regular H2O it is 1. For more see: https://hitran.org/docs/iso-meta/
}
advanced: Dict[str, Union[Dict[int, float], int]] = {
'FixedCoeffTemp': {296: 0.45},
'IteratedTemp': None,
}