File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1515 references to the original papers providing the spectroscopic and collisional
1616 data are encouraged.
1717"""
18- from .core import Lamda
18+ from .core import Lamda , parse_lamda_datafile
Original file line number Diff line number Diff line change @@ -181,6 +181,21 @@ def _absurl_from_url(url, base_url):
181181
182182
183183def parse_lamda_datafile (filename ):
184+ """
185+ Read a datafile that follows the format adopted for the atomic and
186+ molecular data in the LAMDA database.
187+
188+ Parameters
189+ ----------
190+ filename : str
191+ Fully qualified path of the file to read.
192+
193+ Returns
194+ -------
195+ Tuple of tables: ({rateid: Table, },
196+ Table,
197+ Table)
198+ """
184199 with open (filename ) as f :
185200 lines = f .readlines ()
186201 return parse_lamda_lines (lines )
You can’t perform that action at this time.
0 commit comments