Additional features
Star formation rate, couplings, & reionization history
Related to 21-cm signal computation, ECHO21 can be used to calculate Ly \(\alpha\) or collisional coupling and SFRD. Further, ECHO21 can be utilized to generate the reionization history and also the CMB optical depth. The best way to see this in action is to look at the jupyter notebook in the example folder.
Saving & loading pipeline object
Suppose you want to save the echopipeline.pipeline class object myobj (see section Single realization of 21-cm signal) and reuse it for later purpose or simply want to check what parameters you gave. You can do this using the saving and loading functions available in the module misc. To save, put the following in your script
from echo21 import misc
misc.save_pipeline(myobj, 'myechoobj')
where myechoobj is the name of the object file. It will be available in your output_* folder. Note that when you define class object echopipeline.pipeline, the object is automatically saved (pipe.pkl), so you may never need to save it by yourself.
Now if you want to load it later, then put the following in your script
from echo21 import misc
myobj = misc.load_pipeline('/full/path/to/myechoobj.pkl')
where you need to supply the full path to your file myechoobj.pkl.