mirror of
https://gitlab.astro-wise.org/micado/atmosphericmodel.git
synced 2026-10-30 05:01:02 +00:00
Added installation functionality and renamed the package
This commit is contained in:
1 parent
9e0b09787c
commit
f66d26c649
16 files changed
+40
-1700
No files matched your search
@@ -5,7 +5,25 @@
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Example: Calculating atmospheric dispersion for H-band\n",
|
||||
"Using atmosphericModel.py is made as simple as importing the python file and calling its functions. Several parameters are needed, such as location, temperature, pressure and relative humidity. Then the dispersion model object is initiated, allowing us to calculate the index of refraction for any set of TPH and CO2 content values."
|
||||
"Using atmosphericModel.py is made as simple as importing the python package and calling its functions. Several parameters are needed, such as location, temperature, pressure and relative humidity. Then the dispersion model object is initiated, allowing us to calculate the index of refraction for any set of TPH and CO2 content values."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### Installation\n",
|
||||
"We install the package using the `setup.py` file and running the following command:\n",
|
||||
"`python setup.py install`\n",
|
||||
"\n",
|
||||
"Now the package can be imported using `import AstroAtmosphere` in Python."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### How it works"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -17,7 +35,7 @@
|
||||
"#!/usr/bin/env Python\n",
|
||||
"import numpy as np\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"from atmosphericModel import *\n",
|
||||
"from AstroAtmosphere import *\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# Parameters at Cerro Armazones\n",
|
||||
|
||||
Reference in new issue
Block a user