poly_to_txt
The poly_to_txt tool converts polytropic stellar models in the POLY format, to a simple text-based format.
Syntax
poly_to_txt in_filename
out_filename
drop_outer
Parameters
- in_filename
File name of input POLY file
- out_filename
File name of output text file
- drop_outer
Flag to drop outer-most point (which is singular when the surface pressure/density vanish)
Output
The output is written to the out_filename
file. This file is
a text (ASCII) table. The first line specify the column names, and
subsequent lines give the column rows.