Examples¶
Some example analyses based on ngEHTforecast illustrating its capabilities and how to make use of them are contained in the examples folder. If you generate an analysis, we encourage you to upload it with a short description of what it does in the docstring for other ngEHTforecast users! Please ensure that your analysis is behind the standard __name__ check, i.e.,
"""
Short description of your analysis that will appear in documentation.
"""
[Top level import statements]
if __name__ == "__main__" :
[The bulk of your analysis code, including any outputs and
anything that takes more than a few seconds to run.]
All Python scripts in examples conforming to the above will appear in the documentation the next time it is made!
examples/binary_example.py¶
Analysis of precision with which a binary can be characterized. The model being tested has two symmetric Gaussians with 20 uas FWHMs and includes station gains with a 10% amplitude uncertainties. Two figures are generated:
A triangle plot of all parameters for a default set of fluxes and orientation.
A plot of the separation uncertatinty as a function of flux ratio for fixed total flux.
Data sets with and without the new ngEHT stations are used.
examples/ring_example.py¶
Analysis of precision with which the properties of a ring can be characterized in light of a diffuse background and in the presence of station gain uncertainties. Three figures are generated, comparing various ring parameters for data sets appropriate for ngEHT at 230 GHz, 345 GHz, and combining both frequencies:
A single-parameter forecast of the diameter precision for each data set.
A two-parameter forecast of the diameter and width precisions for each data set.
A triangle plot of all ring parameters for reach data set.