Commit 412244f
Atmosphere switching - release v2.1.0 (#303)
* Atmosphere wrapper introduced for switching between extensions without re-installing X-PSI
* Adding the wrapper file missing from the previous commit
* Making basic numerical test run working as well.
* Atmosphere options passed as a string from the user instead of an integer.
* Function renamings and beaming moved the wrapper.
Beaming modification is now mooved to the wrapper function, and it can be used for many atmosphere extensions (instead of having it as a separate extension). Setting it on or off is now based on an additional input argument.
* Switching between elsewhere atmosphere extensions implemented.
* Error handling if atmosphere data not provided.
Exception raised now in Python if atmosphere data were not provided, even though using numerical atmosphere extension.
* Passing atmosphere also for cede=True.
* Surface radiation field tools upgraded.
Tutorial and the related intensity functions in X-PSI upgraded for the atmosphere switching without re-installing X-PSI.
* Atmosphere options implented also to Everywhere and integrator.py.
* Added option for user extension.
An option added for user to provide their own atmosphere extension by replacing some files. In addition, atmosphere options included now also for imaging in Photosphere and pixelmesh.
* Installation+documentation updates, and cleaning.
* Version numbers and setup description updated.
* Doc updates 1
* Now unnecessary archives removed.
* Doc updates 2
Tutorials re-run and comments updated.
* Doc updates 3
More tutorials re-run and updated.
* Module generator tutorial updated.
* CHANGELOG and small doc updates.
* Adding beam_opt value checks
in everywhere and in `HotRegion.py` and in `Everywhere.py`
* Adding elsewhere_user in the wrapper
* required versions of cython
for CI tests
* Update basic_environment.yml
* cython version requirements
* Notebook Surface Radiation Field Tool completed
with extra info to create a CustomPhotosphere with atmosphere extension 'Num4D'
* Meaning of old scripts clarified.
* small cleaning
* warning if loading atmosphere data for default user elsewhere BB
* Added sanity checks in hot_wrapper and elsewhere_wrapper
Added checks to default to BB in case the `atmos_extension` values are different than the expected 1, 2, 3. It should not happen, but in case it does, the crash might be difficult to understand.
* Small version date and number fixes.
---------
Co-authored-by: sguillot <sebastien.guillot@irap.omp.eu>1 parent e883e17 commit 412244f
47 files changed
Lines changed: 1895 additions & 2620 deletions
File tree
- docs/source
- examples/examples_modeling_tutorial
- modules
- xpsi
- cellmesh
- pixelmesh
- surface_radiation_field
- archive
- elsewhere
- hot
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
37 | 79 | | |
38 | 80 | | |
39 | 81 | | |
| |||
53 | 95 | | |
54 | 96 | | |
55 | 97 | | |
| 98 | + | |
56 | 99 | | |
57 | 100 | | |
58 | 101 | | |
| |||
62 | 105 | | |
63 | 106 | | |
64 | 107 | | |
65 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
66 | 111 | | |
67 | 112 | | |
68 | 113 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 28 | | |
39 | 29 | | |
40 | 30 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | | - | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
928 | 926 | | |
929 | 927 | | |
930 | 928 | | |
931 | | - | |
| 929 | + | |
932 | 930 | | |
933 | 931 | | |
934 | 932 | | |
| |||
0 commit comments