Figure 2
A snippet of Python code showing (a) how to use the write_inp method of the read_isodisplace_cif script to generate a TOPAS input file and (b) how to use the Python os library to run the generated file on the command line. Here, irreps and temps are user-defined lists. |