Example script and modules
A few example scripts and modules are found here: examples.
The script called examples/examples_fast/Modules/main.py is a quick test run not requiring any input files. It assumes a single hot region with a uniform temperature using the default blackbody atmosphere extension and a fake instrument matrix.
Second script called examples/examples_modeling_tutorial/TestRun_BB.py is a test run, which is similar to the Modeling tutorial, requiring the same input files as in the corresponding tutorial and using the default blackbody atmosphere extension.
Third script called examples/examples_modeling_tutorial/TestRun_Num.py is also a test run, which is similar to the Modeling tutorial, except using the numerical atmosphere extension.
Fourth script called examples/examples_modeling_tutorial/TestRun_NumBeam.py is a similar test run as the previous, except using a numerical atmosphere extension with extra parameters allowing deviations to the atmospheric beaming pattern.
Fifth script called examples/examples_modeling_tutorial/TestRun_Pol.py is an example script for producing polarized pulses in X-PSI using a simple analytical model for the atmosphere emission.
Sixth script called examples/examples_modeling_tutorial/TestRun_PolNum_split_1spot.py is an example script for producing polarized pulses in X-PSI using a numerical atmosphere model with 3+2 dimensional interpolation.
Seventh script called examples/examples_modeling_tutorial/TestRun_PolNum_split_inference.py is a preliminary example script for producing and analyzing polarized pulses in X-PSI using a numerical atmosphere model with 3+2 dimensional interpolation and ST+PDT spot model.
Eigth script called examples/examples_modeling_tutorial/TestRun_AMXP.py is an example script of an Accreting Millisecond Pulsar with accretion disk implemented through the CustomPhotosphere.py, and 3+2 dimensional interpolation. Note that TestRun_PolNum_split_1spot similarly includes an accretion disk implementation at the end, but there it is a background signal. The results are equivalent but the implementation in this example here is faster and thus recommended for sampling.