import_1d
Create a 1-d spherical .pf file from a windsave2table file.
Read the master file produced by windsave2table for a 1d spherical model and produce a file which can be imported into Sirocco
Command line usage (if any):
usage: import_1d.py root
where root is the rootname of the mastertable
Description:
The routine is intended to provide examples of the types of files Sirocco can read, and to allow regression tests for importing models
Primary routines:
doit
Notes
Windsave2table saves the values of rho in the CMF frame, but Sirocco expects models to be in the observer frame so this routine corrects for this.
Functions
|
Read the table produced by running wind save2table on a model for a spherical wind and produce a table which python can import |
|
Read a file and split it into words, eliminating comments |
|
Read a file using astropy.io.ascii and return this |