croissant-sim-3.0.0
توضیحات
CROISSANT: Rapid spherical harmonics-based simulator of visibilities
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | croissant-sim-3.0.0 |
| نام | croissant-sim |
| نسخه کتابخانه | 3.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christian Hellum Bye |
| ایمیل نویسنده | chbye@berkeley.edu |
| آدرس صفحه اصلی | https://github.com/christianhbye/croissant |
| آدرس اینترنتی | https://pypi.org/project/croissant-sim/ |
| مجوز | GPLv2 |
# CROISSANT: spheriCal haRmOnics vISibility SimulAtor iN pyThon
[](https://codecov.io/gh/christianhbye/croissant)
CROISSANT is a rapid visiblity simulator in python based on spherical harmonics. Given an antenna design and a sky model, CROISSANT simulates the visbilities - that is, the perceived sky temperature.
CROISSANT uses spherical harmonics to decompose the sky and antenna beam to a set of coefficients. Since the spherical harmonics represents a complete, orthormal basis on the sphere, the visibility computation reduces nicely from a convolution to a dot product.
In frequency domain, CROISSANT uses Discrete Prolate Spheroidal Sequences as a rapid linear interpolation scheme. Being linear, this interpolation can be done directly on the spherical harmonics coefficients, avoiding redoing the most expensive part of the computation.
Moreover, the time evolution of the simulation is very natural in this representation. In the antenna reference frame, the sky rotates overhead with time. To account for this rotation, it is enough to rotate the spherical harmonics coefficients. In the right choice of coordinates (that is, one where the z-axis is aligned with the rotation axis of the earth or the moon), this rotation is simply achieved by multiplying the spherical coefficient by a phase.
Overall, this makes CROISSANT a very fast visibility simulator. CROISSANT can therefore be used to simulate a large combination of antenna models and sky models - allowing for the exploration of a range of propsed designs before choosing an antenna for an experiment.
## Installation
For the latest release, do `pip install croissant-sim` (see https://pypi.org/project/croissant-sim). Git clone this repository for the newest changes (this is under activate development, do so at your own risk!).
CROISSANT depends on the package pygdsm which is not uploaded to PyPI. This package will therefore not automatically be installed with CROISSANT, but is available on GitHub at https://github.com/telegraphic/pygdsm.
## Demo
Jupyter Notebook: https://nbviewer.org/github/christianhbye/croissant/blob/main/notebooks/example_sim.ipynb
## Contributing
Contributions are welcome - please see the [contribution guidelines](https://github.com/christianhbye/croissant/blob/add_contributing/CONTRIBUTING.md).
نیازمندی
| مقدار | نام |
|---|---|
| - | astropy |
| - | healpy |
| - | hera-filters |
| - | jupyter |
| - | lunarsky |
| - | matplotlib |
| - | numpy |
| - | scipy |
| - | black |
| - | build |
| - | flake8 |
| - | mypy |
| - | pytest |
| - | pytest-cov |
| - | twine |
| - | hera-sim[vis] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl croissant-sim-3.0.0:
pip install croissant-sim-3.0.0.whl
نصب پکیج tar.gz croissant-sim-3.0.0:
pip install croissant-sim-3.0.0.tar.gz