Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.2 #313

Merged
merged 543 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
543 commits
Select commit Hold shift + click to select a range
6c8f508
resolved deprecated errors related to set_ditgrid or Qr_layer_HAPI
chonma0ctopus Aug 25, 2022
122b3b8
Merge pull request #273 from chonma0ctopus/bugfix/set_ditgrid
HajimeKawahara Aug 25, 2022
d8fd3b8
Merge branch 'develop' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Aug 25, 2022
b931d5e
used DeprecationWarning
HajimeKawahara Aug 25, 2022
087c997
Fixed a bug related to loading VALD data.
chonma0ctopus Aug 27, 2022
2c72eaf
Enabled to use 'crit' to reduce the original lines with Ttyp=Tgue.
chonma0ctopus Aug 27, 2022
2bfb288
Prevents the number of pseudo lines from increasing too many when 'ja…
chonma0ctopus Aug 27, 2022
a1d613a
Merge two bugfix branches to submit a single PR.
chonma0ctopus Aug 27, 2022
307d9b5
Merge pull request #276 from chonma0ctopus/bugfix/PLG_and_VALDloading
HajimeKawahara Aug 30, 2022
01978da
fixed #275
HajimeKawahara Sep 2, 2022
974fcd8
extend and cut
HajimeKawahara Sep 2, 2022
1371d29
Merge pull request #278 from HajimeKawahara/checkindex
HajimeKawahara Sep 2, 2022
4c35b5c
first commit
HajimeKawahara Sep 4, 2022
6cf2e43
removed _special.py
HajimeKawahara Sep 5, 2022
1a7df49
refactoring atmplot
HajimeKawahara Sep 5, 2022
810d7b5
faddeeva refactoring
HajimeKawahara Sep 5, 2022
3cdab7f
erfcx
HajimeKawahara Sep 5, 2022
2c5ba27
refactored
HajimeKawahara Sep 5, 2022
975051b
Merge pull request #280 from HajimeKawahara/refactoring_1
HajimeKawahara Sep 5, 2022
7c981b5
codeclimate budge and refactoring
HajimeKawahara Sep 5, 2022
8b0bc1a
Merge pull request #281 from HajimeKawahara/refactoring_2
HajimeKawahara Sep 5, 2022
9929a74
wofzs2 -> asymptotic_wofz
HajimeKawahara Sep 5, 2022
f7b5bef
removed *wofzs2
HajimeKawahara Sep 5, 2022
3b1a066
lpf
HajimeKawahara Sep 6, 2022
8f5ecb0
OLA using numpy
HajimeKawahara Sep 6, 2022
d5af1a3
removing unnessesary VALD functions in lpf
HajimeKawahara Sep 6, 2022
646aafc
Merge pull request #282 from HajimeKawahara/refactoring_3
HajimeKawahara Sep 6, 2022
35a2316
input form of x changed to arr
HajimeKawahara Sep 7, 2022
0c11b4f
jax version jitted olaconv
HajimeKawahara Sep 7, 2022
692595b
renamed inputs
HajimeKawahara Sep 7, 2022
82105ff
main
HajimeKawahara Sep 7, 2022
15a6e5e
Merge pull request #283 from HajimeKawahara/overlapadd
HajimeKawahara Sep 7, 2022
b42cfaa
memory reduced version
HajimeKawahara Sep 7, 2022
939702c
test cleaned
HajimeKawahara Sep 7, 2022
8058285
added comments
HajimeKawahara Sep 7, 2022
913fd85
Merge pull request #284 from HajimeKawahara/olatune
HajimeKawahara Sep 7, 2022
d43da54
refactored ola.py
HajimeKawahara Sep 8, 2022
c757a59
tmp
HajimeKawahara Sep 9, 2022
23f5f6f
defined filter length
HajimeKawahara Sep 9, 2022
e3471c7
shape filter
HajimeKawahara Sep 10, 2022
c9cdb2b
ola div length
HajimeKawahara Sep 11, 2022
8d0e7d6
nugrid test
HajimeKawahara Sep 12, 2022
6a5fe2c
tmp
HajimeKawahara Sep 12, 2022
3b4b1b4
test
HajimeKawahara Sep 26, 2022
fea1c1a
added modit_scanfft
HajimeKawahara Sep 26, 2022
7da9953
comment
HajimeKawahara Sep 26, 2022
bbd73ed
Merge pull request #285 from HajimeKawahara/modit_scanfft
HajimeKawahara Sep 26, 2022
c453e47
Added scanfft version of xsmatrix_vald_scanfft
chonma0ctopus Sep 26, 2022
627ce23
Fixed a missing class in __all__
chonma0ctopus Sep 27, 2022
24e6063
Added testdata for unittests of VALD+MODIT.
chonma0ctopus Sep 27, 2022
0aba7d7
Added a unittest for xsmatrix_vald_scanfft onmodit.
chonma0ctopus Sep 27, 2022
25033cc
Added x64 declaration to make the AssertionError (pointed out in #286…
chonma0ctopus Sep 27, 2022
59488a8
Fixed AssertionError in #286
chonma0ctopus Sep 27, 2022
0487899
tmp
HajimeKawahara Sep 29, 2022
032325d
Merge pull request #286 from chonma0ctopus/modit_scanfft_vald
HajimeKawahara Sep 29, 2022
aa4d6ad
chenge input in olaconv to zeropad arrays
HajimeKawahara Sep 29, 2022
cc6c21f
made test for apply_zeropad
HajimeKawahara Sep 29, 2022
e25758b
x-padding
HajimeKawahara Sep 29, 2022
e95f80b
padding tensorization
HajimeKawahara Sep 29, 2022
e48472f
Changed the FFT parts in PreMODIT to use jax.lax.scan as well as #285…
chonma0ctopus Sep 29, 2022
a97b9c3
Merge pull request #287 from chonma0ctopus/premodit_scanfft
HajimeKawahara Sep 30, 2022
8b25286
fixed raised by Tako in Discord 9/30 (2022).
HajimeKawahara Sep 30, 2022
dbb56e0
added isinf checker
HajimeKawahara Sep 30, 2022
5ea6c60
reshape
HajimeKawahara Sep 30, 2022
585727a
tmp
HajimeKawahara Sep 30, 2022
d66395e
moved the test to integartion and renamed
HajimeKawahara Sep 30, 2022
2b01128
Merge pull request #288 from HajimeKawahara/bugfix/premodit_f32
HajimeKawahara Sep 30, 2022
ef83809
lbd reshaping done
HajimeKawahara Sep 30, 2022
c5ba29b
next shapefilter
HajimeKawahara Sep 30, 2022
fe95848
shapefilter_ola
HajimeKawahara Oct 1, 2022
64daac7
enabled to use _padding_zeros_axis for 2D
HajimeKawahara Oct 3, 2022
db14703
tmp
HajimeKawahara Oct 7, 2022
68462b6
vmapped shaped filter tested
HajimeKawahara Oct 10, 2022
5af9748
conflict merged
HajimeKawahara Oct 10, 2022
55fbfbc
Merge pull request #272 from HajimeKawahara/radisapi
HajimeKawahara Oct 10, 2022
65fabf6
Merge branch 'develop' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Oct 10, 2022
125ebbc
test github action
HajimeKawahara Oct 10, 2022
7c9d65a
added export PYTHONPATH in main.yml
HajimeKawahara Oct 10, 2022
b8c87fe
added export PYTHONPATH in main.yml
HajimeKawahara Oct 10, 2022
e424492
modified main.yml
HajimeKawahara Oct 10, 2022
c43804b
added results diretory
HajimeKawahara Oct 10, 2022
757c2bc
numpy requirement < 1.22.3 to match to radis
HajimeKawahara Oct 10, 2022
c170e0f
radis@develop in setup.py install requirement
HajimeKawahara Oct 10, 2022
cedb292
setup.py bugfixed1
HajimeKawahara Oct 10, 2022
bb213b6
atmplot
HajimeKawahara Oct 10, 2022
21abc92
rvfunc
HajimeKawahara Oct 10, 2022
8f7cb5a
Merge pull request #290 from HajimeKawahara/refactoring/codeclimate
HajimeKawahara Oct 10, 2022
391fc9f
Merge branch 'develop' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Oct 11, 2022
61c335e
temp
HajimeKawahara Oct 12, 2022
f6ba75c
bugfix
HajimeKawahara Oct 12, 2022
3e7731d
before rigidrot
HajimeKawahara Oct 13, 2022
d97d1ac
before rigidrot
HajimeKawahara Oct 13, 2022
c6985a1
Merge pull request #293 from HajimeKawahara/presolar_initial
HajimeKawahara Oct 13, 2022
2d117fd
start reimplement response #292
HajimeKawahara Oct 13, 2022
0f0a745
1 and 2 widths
HajimeKawahara Oct 13, 2022
19789ba
comparison dv computation
HajimeKawahara Oct 14, 2022
f4bed8b
delta velocity
HajimeKawahara Oct 14, 2022
fa85ffb
rotation kernel
HajimeKawahara Oct 14, 2022
44a9119
convolve
HajimeKawahara Oct 14, 2022
9dddb8f
aliasing rigidrot
HajimeKawahara Oct 14, 2022
9612751
JITTABLE
HajimeKawahara Oct 15, 2022
fdcc4f4
grids (wavenumber and velocity) unified to utils.grids
HajimeKawahara Oct 16, 2022
0855ca2
setrt removed
HajimeKawahara Oct 16, 2022
81ee4b9
ipgauss_sampling w/o cuDNN
HajimeKawahara Oct 17, 2022
570e328
even condition
HajimeKawahara Oct 17, 2022
b284c26
autospec revised
HajimeKawahara Oct 17, 2022
aa5c3fb
resolved circular import
HajimeKawahara Oct 17, 2022
9872c65
removed _special in unittests
HajimeKawahara Oct 17, 2022
a2948d2
remove erfcx_scan
HajimeKawahara Oct 17, 2022
58eaaea
removed commma
HajimeKawahara Oct 17, 2022
fd0e7d7
dwarkening
HajimeKawahara Oct 17, 2022
56bb0f5
hapi
HajimeKawahara Oct 17, 2022
89489bd
code climate
HajimeKawahara Oct 17, 2022
36ece3a
ESLIN not recommended
HajimeKawahara Oct 17, 2022
69fcc6d
code climate
HajimeKawahara Oct 17, 2022
6ba1099
refactoring
HajimeKawahara Oct 18, 2022
d6c7489
diff_frozen_vs_pseudo_test
HajimeKawahara Oct 18, 2022
0210da5
Merge pull request #295 from HajimeKawahara/new_response
HajimeKawahara Oct 18, 2022
264c40b
up-to-date tutorials
HajimeKawahara Oct 20, 2022
932f375
update Comp Hitemp and Exomol
HajimeKawahara Oct 20, 2022
f9385d2
H3O_p def
HajimeKawahara Oct 20, 2022
a8d0694
s2e_stable for H3O_p (autospec)
HajimeKawahara Oct 20, 2022
885b17c
tutorials
HajimeKawahara Oct 21, 2022
b7aaf83
list
HajimeKawahara Oct 21, 2022
3c8f13c
install error from seaborn (matplotlib 3.6.1)
HajimeKawahara Oct 21, 2022
b0d4b1c
Merge pull request #299 from HajimeKawahara/tutorials
HajimeKawahara Oct 21, 2022
b88cb79
test instfunc
HajimeKawahara Oct 21, 2022
f7051d9
replaced nugrid to wavenumber_grid
HajimeKawahara Oct 21, 2022
dd7ac44
rst
HajimeKawahara Oct 21, 2022
dfc5d33
solved FutureWarnings; by python -W error -m pdb -c "c" modit_test.py
HajimeKawahara Oct 22, 2022
d5b43ba
test
HajimeKawahara Oct 22, 2022
9d968b4
new rotation applied
HajimeKawahara Oct 22, 2022
bdf78a3
autospec
HajimeKawahara Oct 22, 2022
acb5795
spin rotation
HajimeKawahara Oct 22, 2022
6cca616
metals
HajimeKawahara Oct 22, 2022
8c904d8
tmp
HajimeKawahara Oct 22, 2022
e40c746
code climate
HajimeKawahara Oct 22, 2022
4f9f784
Merge pull request #300 from HajimeKawahara/refactoring_utils
HajimeKawahara Oct 22, 2022
f70c455
codeclimate github action
HajimeKawahara Oct 22, 2022
5dab504
codeclimate github action
HajimeKawahara Oct 22, 2022
dd69649
postpone pytest-cov
HajimeKawahara Oct 22, 2022
1fb7f72
removed rtcheck
HajimeKawahara Oct 22, 2022
e9ceeaf
added astrofunc
HajimeKawahara Oct 22, 2022
4ec08ff
tmp
HajimeKawahara Oct 22, 2022
91dac61
j0
HajimeKawahara Oct 22, 2022
3118a3a
fastchem2_call was moved to examples/pyfastchem because pip install o…
HajimeKawahara Oct 22, 2022
679ef1d
check_nugrid moved to grids
HajimeKawahara Oct 22, 2022
55e3133
molname test
HajimeKawahara Oct 25, 2022
b804efd
Added module to extract tau=1 height pressure at different wavelength…
chonma0ctopus Oct 25, 2022
440f175
isotope test
HajimeKawahara Oct 25, 2022
9b346d3
removed exofile.py
HajimeKawahara Oct 25, 2022
7dab05f
Merge pull request #302 from HajimeKawahara/add_more_tests
HajimeKawahara Oct 25, 2022
2d6ef50
Renamed a function.
chonma0ctopus Oct 25, 2022
b83ba99
Renamed a module.
chonma0ctopus Oct 25, 2022
487e23b
Fixed wrong commit... Sorry.
chonma0ctopus Oct 25, 2022
9943879
Ranamed a module.
chonma0ctopus Oct 26, 2022
f1cc428
Merge pull request #301 from chonma0ctopus/tau1height
HajimeKawahara Oct 26, 2022
69e184c
bugfix for HITEMP/HITRAN HMC
HajimeKawahara Oct 26, 2022
d3ef05b
Merge pull request #303 from HajimeKawahara/hitemp_modit
HajimeKawahara Oct 27, 2022
845614a
test
HajimeKawahara Oct 27, 2022
4e3a695
lpf
HajimeKawahara Oct 27, 2022
0fc3105
reverse premodit
HajimeKawahara Oct 27, 2022
bbb8bd6
silent hapi
HajimeKawahara Oct 27, 2022
8fd1c39
old setting for reverse modit
HajimeKawahara Oct 29, 2022
bc003a8
no crit for reverse_premodit
HajimeKawahara Oct 29, 2022
c6342a0
refac
HajimeKawahara Oct 30, 2022
5a0bda8
add exp in doc.rst
HajimeKawahara Oct 30, 2022
f8cd79b
made a tutorial for PreMODIT HITRAN but I noticed tht I have not impl…
HajimeKawahara Oct 30, 2022
baae7e3
Merge pull request #305 from HajimeKawahara/check_reverse
HajimeKawahara Oct 30, 2022
f23f52e
api gpu_transfer in generate.py
HajimeKawahara Oct 30, 2022
72c6c36
test data for HITEMP
HajimeKawahara Oct 30, 2022
41de150
added pickle for HITEMP test
HajimeKawahara Oct 30, 2022
9f14b9e
MANIFEST.in
HajimeKawahara Oct 30, 2022
7eac4e8
Merge pull request #306 from HajimeKawahara/testdata_HITEMP
HajimeKawahara Oct 30, 2022
e618c2c
emulate_broadpar test
HajimeKawahara Oct 30, 2022
5acbaee
test hitemp xs/ some error to start from
HajimeKawahara Oct 30, 2022
9e121c2
isotope option in mdbHitemp
HajimeKawahara Oct 31, 2022
9308bba
include single isotope in emulate_mdb
HajimeKawahara Oct 31, 2022
abc0baa
reorganized Qt/qr interp in mdbHitemp
HajimeKawahara Oct 31, 2022
000c1b0
moved api_test below spec and added _functions
HajimeKawahara Oct 31, 2022
9bafb63
xsection worked
HajimeKawahara Oct 31, 2022
7caea57
xs hitemp single isotope done
HajimeKawahara Oct 31, 2022
061f2bf
exact isotope name
HajimeKawahara Oct 31, 2022
9cc1b85
spectra hitemp done
HajimeKawahara Nov 1, 2022
59ab61d
hitemp done
HajimeKawahara Nov 1, 2022
07905cc
tutorial update
HajimeKawahara Nov 1, 2022
74f07c3
simple usage
HajimeKawahara Nov 3, 2022
7ec3d3b
branch
HajimeKawahara Nov 3, 2022
9c843d4
dataframe is now mdb instance
HajimeKawahara Nov 3, 2022
1363aff
added an explanation in userguide. see http://secondearths.sakura.ne.…
HajimeKawahara Nov 4, 2022
3d828e5
Merge pull request #307 from HajimeKawahara/premodit_hitemp
HajimeKawahara Nov 4, 2022
15ec6e1
moved spec.opacity.xsection to spec.lpf.auto_xsection
HajimeKawahara Nov 4, 2022
3f17201
tmp
HajimeKawahara Nov 4, 2022
b09e27c
opacity and opacity_exomol
HajimeKawahara Nov 4, 2022
81b96b9
added an explanation of the band head
HajimeKawahara Nov 6, 2022
e6efbd3
Merge pull request #308 from HajimeKawahara/tutorials_for_release1.2
HajimeKawahara Nov 7, 2022
03daf12
replaced moldb.MdbExomol and MdbHit to api.MdbExomol and MdbHit
HajimeKawahara Nov 7, 2022
ac713e7
df instrance False as default
HajimeKawahara Nov 7, 2022
da31f16
bugfixed
HajimeKawahara Nov 7, 2022
d91a50c
test done
HajimeKawahara Nov 7, 2022
df99de0
del print
HajimeKawahara Nov 8, 2022
543e50a
Merge pull request #309 from HajimeKawahara/remove_old_moldb
HajimeKawahara Nov 8, 2022
1c5090e
some edits
HajimeKawahara Nov 8, 2022
33a82c3
Merge pull request #312 from HajimeKawahara/precheck_release
HajimeKawahara Nov 8, 2022
256815a
start release branch for v1.2
HajimeKawahara Nov 8, 2022
1ea2126
memory reduced unique
HajimeKawahara Nov 9, 2022
ddc9acc
memory saved unique/init_premodit
HajimeKawahara Nov 10, 2022
9784c47
Merge pull request #315 from HajimeKawahara/initspec_memory_issue
HajimeKawahara Nov 10, 2022
e28e45b
Merge branch 'develop' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Nov 10, 2022
3320f63
comments added
HajimeKawahara Nov 11, 2022
0eba72e
rethink errors and grids in PreMODIT
HajimeKawahara Nov 14, 2022
b147ebb
ipynb update
HajimeKawahara Nov 16, 2022
4b65b95
fig update
HajimeKawahara Nov 16, 2022
f5248a9
ipynb fix
HajimeKawahara Nov 16, 2022
691d7ec
Merge branch 'Elower_grid_error' of https://github.com/HajimeKawahara…
HajimeKawahara Nov 16, 2022
55ad062
Merge pull request #318 from HajimeKawahara/Elower_grid_error
HajimeKawahara Nov 16, 2022
924288d
Replaced python-build-in min/max by with np.min/np.max.
chonma0ctopus Nov 20, 2022
32e3757
replaced nugrid and moldb with wavenumber_grid and api
ykawashima Nov 20, 2022
0d09969
changed since _set_grid_eslin always returns the wavenumber grid
ykawashima Nov 20, 2022
a7a17fb
just refactoring
ykawashima Nov 20, 2022
24a9ccf
Merge pull request #319 from ykawashima/grid_setting
HajimeKawahara Nov 21, 2022
b9075c0
Merge branch 'release' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Nov 21, 2022
7965f2b
Merge pull request #320 from chonma0ctopus/bugfix/Slowdown_with_lates…
HajimeKawahara Nov 21, 2022
a484abe
Merge branch 'develop' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Nov 21, 2022
b7efcbd
editted documents
HajimeKawahara Nov 21, 2022
9bbd243
fixed DIT tutorial
HajimeKawahara Nov 21, 2022
32d4143
Comparing Hitemp and Exomol fixed
HajimeKawahara Nov 21, 2022
f92d277
Cross Section MODIT
HajimeKawahara Nov 21, 2022
ac090d4
tutorial for Premodit Forward
HajimeKawahara Nov 21, 2022
abd725f
Merge pull request #321 from HajimeKawahara/isotope_zero
HajimeKawahara Nov 21, 2022
cbf3543
gpu_transfer=True as default, jax opt
HajimeKawahara Nov 22, 2022
fbd21b6
Merge branch 'release' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Nov 22, 2022
70ae0fa
jaxopt spectrum bug fixed
HajimeKawahara Nov 22, 2022
bc5033c
reverse modeling tutorial fixed
HajimeKawahara Nov 22, 2022
cc92fd5
tutorial updates
HajimeKawahara Nov 22, 2022
3e59be7
forward methane low tempearture
HajimeKawahara Nov 23, 2022
8b613b2
reverse MODIT fixed
HajimeKawahara Nov 23, 2022
1665aa2
forward methane PreMODIT
HajimeKawahara Nov 23, 2022
002961e
doc updated
HajimeKawahara Nov 23, 2022
82f3b3e
reverse PreMODIT tutorial
HajimeKawahara Nov 23, 2022
b859410
Reverse
HajimeKawahara Nov 24, 2022
17ddb2a
bug fix regarding the order of nus
ykawashima Nov 24, 2022
ba8fd97
added the comment that grids are in ascending order.
HajimeKawahara Nov 24, 2022
b814b9e
Merge branch 'release' of https://github.com/HajimeKawahara/exojax in…
HajimeKawahara Nov 24, 2022
6e11d12
tutorial update
HajimeKawahara Dec 4, 2022
7b933f7
fixed
HajimeKawahara Dec 4, 2022
b389cac
inherit_dataframe
HajimeKawahara Dec 4, 2022
7a3fa62
changed logo
HajimeKawahara Dec 4, 2022
e180af5
commented out radis/register in api.py
HajimeKawahara Dec 5, 2022
3ff219b
docs update
HajimeKawahara Dec 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
61 changes: 61 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Run pytest
on:
# Triggers the workflow on push or pull request events but only for the "develop" and "master" branch
push:
branches: [ "develop" , "master"]
pull_request:
branches: [ "develop" , "master"]


jobs:
pytest:
runs-on: ubuntu-latest

steps:
# Checkout repository
- name: Checkout
uses: actions/checkout@v2

# Setup Python
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

# install package
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py install

# install pytest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest

# pytest -> JUnit xml
- name: PyTest
run: |
python -m pytest tests/unittests --junit-xml results/pytest.xml
continue-on-error: true

# show the results
- name: Upload Unit Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: Unit Test Results (Python 3.8)
path: results/*.xml

- name: Download Artifacts
if: success() || failure()
uses: actions/download-artifact@v2
with:
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: artifacts/**/*.xml

17 changes: 5 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,18 @@ We adopt a simple git-flow model, consisting of master, develop, contributor-def

## Issues and Discussion

You can ask anything about exojax in Issue tracker and Discussion.
You can ask anything about ExoJAX in Issue tracker and Discussion.

## Tests

As proposed by @gully #86, we now have unit tests using pytest.
Please consider to include unit tests if your update gives new functionality to ExoJAX.
Some external files are needed to complete all the tests. Check [here](http://secondearths.sakura.ne.jp/exojax/data/).

## TIPS

### pyformat

Pyformat formats the code to follow a consistent style that used in ExoJAX.
- tests/unittests: Unit tests, fast and independent from other databases as possible
- tests/integration: mildly fast, it can include external databases
- tests/endtoend: kind of samples including examples with PPLs

At minimum, you can use it as

```sh
pyformat -i your_code.py
```
## TIPS

### How to include data into exojax

Expand Down
34 changes: 34 additions & 0 deletions LICENSES_bundled.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Name: scipy
Files: optimal_div_length
TakenFrom: scipy.signal._signaltools._oa_calc_oalens
License:
Copyright (c) 2001-2002 Enthought, Inc. 2003-2022, SciPy Developers.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
18 changes: 18 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
include src/exojax/data/atom/atomic.txt
include src/exojax/data/atom/barklem_collet_2016_pff.txt
include src/exojax/data/atom/iso_mn.txt
include src/exojax/data/atom/HITRAN_molparam.txt
include src/exojax/data/clouds/drag_force.txt
include src/exojax/data/abundance/AAG2021.dat
include src/exojax/data/atom/NIST_Atomic_Ionization_Energies.txt

include src/exojax/data/testdata/spectrum.txt
include src/exojax/data/testdata/spectrum_ch4.txt
include src/exojax/data/testdata/spectrum_ch4_new.txt
include src/exojax/data/testdata/spectrum_co.txt
include src/exojax/data/testdata/moldb_co_exomol.pickle
include src/exojax/data/testdata/moldb_co_hitemp.pickle
include src/exojax/data/testdata/moldb_co_hitemp_single_isotope.pickle
include src/exojax/data/testdata/moldb_h2o_exomol.pickle
include src/exojax/data/testdata/moldb_vald.pickle
include src/exojax/data/testdata/lpf_test_ref.txt
include src/exojax/data/testdata/modit_test_ref.txt
include src/exojax/data/testdata/premodit_test_ref.txt
include src/exojax/data/testdata/premodit_test_hitemp_ref.txt
include src/exojax/data/testdata/modit_rt_test_ref.txt
include src/exojax/data/testdata/premodit_rt_test_ref.txt
include src/exojax/data/testdata/premodit_rt_test_hitemp_ref.txt
include src/exojax/data/testdata/modit_rt_test_vald_ref.txt

graft tests
graft examples
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Docs](https://img.shields.io/badge/docs-exojax-brightgreen)](http://secondearths.sakura.ne.jp/exojax/)
[![arxiv](https://img.shields.io/badge/arxiv-2105.14782-blue)](http://arxiv.org/abs/2105.14782)
[![paper](https://img.shields.io/badge/paper-ApJS_258_31_(2022)-orange)](https://iopscience.iop.org/article/10.3847/1538-4365/ac3b4d)
<a href="https://codeclimate.com/github/HajimeKawahara/exojax/maintainability"><img src="https://api.codeclimate.com/v1/badges/97c5e8835f3ef9c4ad7c/maintainability" /></a>

Auto-differentiable line-by-line spectral modeling of exoplanets/brown dwarfs/M dwarfs using JAX. Read [the docs](http://secondearths.sakura.ne.jp/exojax) 🐕.
In a nutshell, ExoJAX enables you to do a HMC-NUTS fitting using the latest database.
Expand Down Expand Up @@ -52,7 +53,7 @@ autoxs.mdb is the [moldb.MdbExomol class](http://secondearths.sakura.ne.jp/exoja
<details><summary>Emission Spectrum :heavy_check_mark: </summary>

```python
from exojax.spec.rtransfer import nugrid
from exojax.utils.grids import wavenumber_grid
from exojax.spec import AutoRT
nus,wav,res=nugrid(1900.0,2300.0,200000,"cm-1")
Parr=numpy.logspace(-8,2,100) #100 layers from 10^-8 bar to 10^2 bar
Expand Down Expand Up @@ -127,9 +128,8 @@ nvcc -V
Install such as

```
sudo dpkg -i cudnn-local-repo-ubuntu2004-8.3.1.22_1.0-1_amd64.deb
pip uninstall jax
pip install "jax[cuda11_cudnn82]" -f https://storage.googleapis.com/jax-releases/jax_releases.html
pip install --upgrade pip
pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html
```

Please visit [here](https://github.com/google/jax) for details.
Expand Down
Loading