Skip to content

cintuluca/atmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATMI - Atmospheric Impact Simulation

ATMI (Atmospheric Impact Simulation) is a project aiming to develop a generic pipeline for the simulation of the atmospheric impact on CMB ground-based experiments. In fact, CMB observations from the ground are strongly limited by the atmosphere: its presence results in both absorption and emission of new signal. Despite the effect of the absorption of the incoming signal is negligible, atmospheric emission constitutes a noise for CMB measurements. This project is divided into several sections, responsable of different tasks:

  1. Some routines to implement the atmospheric sampling according to the data.
  2. Reconstruction of the atmospheric model structure, based on the previous sampling.
  3. Calculations to determine the brightness temperature of the atmosphere, thanks to the am tool (Atmospheric Model - CfA Harvard) for the radiative transfer computation.

Usage of the atmi bash script:

	atmi [-p PATH_TO_CONFIG] [-s PATH_TO_CONFIG] [-a PATH_TO_CONFIG] [-t PATH_TO_CONFIG] [-i PATH_TO_CONFIG] [-r PATH_TO_CONFIG] [-d PATH_TO_CONFIG] [-f METHOD] [-h]

List of all the possible commands:

Command Name What it does?
atmi -p [PATH_TO_CONFIG] Plot Extract and plot the PDF for a given variable at a given hour of a given day of the month (see the documentation for more details).
atmi -s [PATH_TO_CONFIG] Sampling Sample an atmospheric realization for the given dates (see the documentation for more details).
atmi -a [PATH_TO_CONFIG] Am Generate the am configuration file for the given atmosphere realization and run am (see the documentation for more details).
atmi -t [PATH_TO_CONFIG] Temperature Generate the am configuration file for the given atmosphere samplings (from file) and run am (see the documentation for more details).
atmi -i [PATH_TO_CONFIG] Instrument Calculate the antenna temperature and do the frequency band integration (see the documentation for more details).
atmi -r [PATH_TO_CONFIG] Run Generate the am configuration file for the atmosphere realizations in the given data archive and run am (see the documentation for more details).
atmi -d [PATH_TO_CONFIG] Date Generate the am configuration file for the atmosphere realizations in the given data archive and run am for specific user-defined dates (see the documentation for more details).
atmi -f [METHOD] Configuration Display the configuration file format for the given method.
atmi -h Help Display the manual.

In order to install am you can download it from here and follow the instructions on the manual.

Doxygen with auto deployment has been setup in this repository. The documentation for this repository is available at https://cintuluca.github.io/atmi/

How to set up

Clone the repository:

git clone https://github.com/cintuluca/atmi

Move to the atmi directory:

cd atmi

Run the initialization script:

./init.sh

The atmi bash script can be moved anywhere but anytime the atmi directory is moved, you need to move into the directory and run again the initialization script ./init.sh.

ATMI requirements:

matplotlib (>=3.6.3)
numpy (>=1.22.4)
pandas (>=1.5.2)
scipy (>=1.7.3)
termplotlib (>=0.3.9)
xarray (>=2022.11.0)

AUTHOR

Luca Cintura luca.cintura@gmail.com

License

Atmospheric Impact Simulation (ATMI)

Copyright (c) 2024, Luca Cintura

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Atmospheric Impact Simulation for CMB ground-based experiments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published