Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 636 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 636 Bytes

cloudytab

Ultra-lightweight python wrapper for output files from the Cloudy astrophysical plasma simulation code

Example of usage

from cloudytab import CloudyModel
m = CloudyModel("myfolder/mymodel")

m.files contains a list of all the files that were found:

['myfolder/mymodel.in', 'myfolder/mymodel.ovr', ...]

m.data contains dict of astropy.Table, one for each save file:

{'ovr': <Table length=289> ..., ...}

m.io['in'] and m.io['out'] contain the input and output streams

m.skipped contains a dict of each extension that was skipped with its reason.