ararpy 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. {ararpy-0.2.1 → ararpy-0.2.2}/PKG-INFO +10 -1
  2. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/__init__.py +2 -2
  3. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/jvalue.py +7 -5
  4. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy.egg-info/PKG-INFO +10 -1
  5. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy.egg-info/SOURCES.txt +1 -0
  6. ararpy-0.2.2/ararpy.egg-info/requires.txt +8 -0
  7. {ararpy-0.2.1 → ararpy-0.2.2}/setup.py +5 -5
  8. {ararpy-0.2.1 → ararpy-0.2.2}/LICENSE +0 -0
  9. {ararpy-0.2.1 → ararpy-0.2.2}/README.md +0 -0
  10. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Check arr.py +0 -0
  11. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Granite Cooling History.py +0 -0
  12. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Plot temperature calibration.py +0 -0
  13. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Show MDD results.py +0 -0
  14. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Show all Kfs age spectra.py +0 -0
  15. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Show random walk results.py +0 -0
  16. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/Example - Tc calculation.py +0 -0
  17. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/__init__.py +0 -0
  18. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/age.py +0 -0
  19. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/arr.py +0 -0
  20. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/basic.py +0 -0
  21. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/corr.py +0 -0
  22. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/err.py +0 -0
  23. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/histogram.py +0 -0
  24. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/isochron.py +0 -0
  25. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/plot.py +0 -0
  26. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/raw_funcs.py +0 -0
  27. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/regression.py +0 -0
  28. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/calc/spectra.py +0 -0
  29. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/022_VU124-M11a.ahd +0 -0
  30. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/20WHA0103.age +0 -0
  31. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/22WHA0078.xls +0 -0
  32. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/22WHA0433.age +0 -0
  33. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/22WHA0433.arr +0 -0
  34. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/22WHA0433.full.xls +0 -0
  35. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/24WHN0001-51-592.XLS +0 -0
  36. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/AHD.input-filter +0 -0
  37. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/ArAr.calc +0 -0
  38. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/ArArCALC.age +0 -0
  39. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/NGX-600 - Copy.TXT +0 -0
  40. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/NGX-600.TXT +0 -0
  41. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/NGX-XLS.input-filter +0 -0
  42. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/Qtegra-exported-xls.input-filter +0 -0
  43. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/S01-239.csv +0 -0
  44. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/WH01.irra +0 -0
  45. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/WHA.pdf +0 -0
  46. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/raw_example.xls +0 -0
  47. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/examples/sample-default.smp +0 -0
  48. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/__init__.py +0 -0
  49. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/arr_file.py +0 -0
  50. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/basic.py +0 -0
  51. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/calc_file.py +0 -0
  52. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/new_file.py +0 -0
  53. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/raw_file.py +0 -0
  54. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/files/xls.py +0 -0
  55. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/EXPORT_TO_PDF_DATA_PROPERTIES.py +0 -0
  56. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/__init__.py +0 -0
  57. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/basic.py +0 -0
  58. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/calculation.py +0 -0
  59. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/consts.py +0 -0
  60. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/corr.py +0 -0
  61. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/diffusion_funcs.py +0 -0
  62. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/export.py +0 -0
  63. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/info.py +0 -0
  64. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/initial.py +0 -0
  65. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/json.py +0 -0
  66. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/plots.py +0 -0
  67. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/raw.py +0 -0
  68. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/sample.py +0 -0
  69. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/style.py +0 -0
  70. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/smp/table.py +0 -0
  71. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/test.py +0 -0
  72. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/thermo/__init__.py +0 -0
  73. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/thermo/arrhenius.py +0 -0
  74. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/thermo/atomic_level_random_walk.py +0 -0
  75. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy/thermo/basic.py +0 -0
  76. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy.egg-info/dependency_links.txt +0 -0
  77. {ararpy-0.2.1 → ararpy-0.2.2}/ararpy.egg-info/top_level.txt +0 -0
  78. {ararpy-0.2.1 → ararpy-0.2.2}/setup.cfg +0 -0
  79. {ararpy-0.2.1 → ararpy-0.2.2}/tests/test.py +0 -0
  80. {ararpy-0.2.1 → ararpy-0.2.2}/tests/test2.py +0 -0
  81. {ararpy-0.2.1 → ararpy-0.2.2}/tests/test_error_correlation.py +0 -0
  82. {ararpy-0.2.1 → ararpy-0.2.2}/tests/test_regression_methods.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ararpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A project for Ar-Ar geochronology
5
5
  Home-page: https://github.com/wuyangchn/ararpy.git
6
6
  Author: Yang Wu
@@ -12,6 +12,14 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.5
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: chardet
16
+ Requires-Dist: numpy
17
+ Requires-Dist: pandas
18
+ Requires-Dist: parse
19
+ Requires-Dist: scipy
20
+ Requires-Dist: xlrd
21
+ Requires-Dist: XlsxWriter
22
+ Requires-Dist: pdf_maker
15
23
  Dynamic: author
16
24
  Dynamic: author-email
17
25
  Dynamic: classifier
@@ -20,6 +28,7 @@ Dynamic: description-content-type
20
28
  Dynamic: home-page
21
29
  Dynamic: license
22
30
  Dynamic: license-file
31
+ Dynamic: requires-dist
23
32
  Dynamic: requires-python
24
33
  Dynamic: summary
25
34
 
@@ -16,10 +16,10 @@ from . import calc, smp, files, thermo, test
16
16
  """ Information """
17
17
 
18
18
  name = 'ararpy'
19
- version = '0.2.01'
19
+ version = '0.2.2'
20
20
  __version__ = version
21
21
  full_version = version
22
- last_update = '2025-12-31'
22
+ last_update = '2026-01-01'
23
23
 
24
24
  """ ArArPy Functions """
25
25
 
@@ -32,8 +32,10 @@ def j_value(age, sage, r, sr, f, rsf):
32
32
  f = f * 1000000 # exchange to unit of Ma
33
33
  rsf = f * rsf / 100 # exchange to absolute error
34
34
  k0 = (np.exp(f * age) - 1) / r
35
- v1 = rsf ** 2 * (age * np.exp(f * age) / r) ** 2
36
- v2 = sage ** 2 * (f * np.exp(f * age) / r) ** 2
37
- v3 = sr ** 2 * ((1 - np.exp(f * age)) / r ** 2) ** 2
38
- k1 = np.sqrt(v1 + v2 + v3)
39
- return k0, k1, k1, k1
35
+ v1 = rsf ** 2 * (age * np.exp(f * age) / r) ** 2 # lambda
36
+ v2 = sage ** 2 * (f * np.exp(f * age) / r) ** 2 # age
37
+ v3 = sr ** 2 * ((1 - np.exp(f * age)) / r ** 2) ** 2 # 40/39
38
+ k1 = np.sqrt(v3)
39
+ k2 = np.sqrt(v3 + v2)
40
+ k3 = np.sqrt(v3 + v2 + v1)
41
+ return k0, k1, k2, k3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ararpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A project for Ar-Ar geochronology
5
5
  Home-page: https://github.com/wuyangchn/ararpy.git
6
6
  Author: Yang Wu
@@ -12,6 +12,14 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.5
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: chardet
16
+ Requires-Dist: numpy
17
+ Requires-Dist: pandas
18
+ Requires-Dist: parse
19
+ Requires-Dist: scipy
20
+ Requires-Dist: xlrd
21
+ Requires-Dist: XlsxWriter
22
+ Requires-Dist: pdf_maker
15
23
  Dynamic: author
16
24
  Dynamic: author-email
17
25
  Dynamic: classifier
@@ -20,6 +28,7 @@ Dynamic: description-content-type
20
28
  Dynamic: home-page
21
29
  Dynamic: license
22
30
  Dynamic: license-file
31
+ Dynamic: requires-dist
23
32
  Dynamic: requires-python
24
33
  Dynamic: summary
25
34
 
@@ -13,6 +13,7 @@ ararpy/test.py
13
13
  ararpy.egg-info/PKG-INFO
14
14
  ararpy.egg-info/SOURCES.txt
15
15
  ararpy.egg-info/dependency_links.txt
16
+ ararpy.egg-info/requires.txt
16
17
  ararpy.egg-info/top_level.txt
17
18
  ararpy/calc/__init__.py
18
19
  ararpy/calc/age.py
@@ -0,0 +1,8 @@
1
+ chardet
2
+ numpy
3
+ pandas
4
+ parse
5
+ scipy
6
+ xlrd
7
+ XlsxWriter
8
+ pdf_maker
@@ -16,7 +16,7 @@ long_description = (here / 'README.md').read_text(encoding='utf-8')
16
16
 
17
17
  setuptools.setup(
18
18
  name='ararpy', #
19
- version='0.2.01', # version
19
+ version='0.2.2', # version
20
20
  author='Yang Wu',
21
21
  author_email='wuycug@hotmail.com',
22
22
  description='A project for Ar-Ar geochronology', # short description
@@ -25,10 +25,10 @@ setuptools.setup(
25
25
  url='https://github.com/wuyangchn/ararpy.git', # github url
26
26
  packages=setuptools.find_packages(),
27
27
  package_data={'ararpy': ['examples/*']},
28
- # install_requires=[
29
- # "chardet", "numpy", "OriginExt", "pandas", "parse", "python_dateutil",
30
- # "scipy", "setuptools", "xlrd", "XlsxWriter", "pdf_maker"
31
- # ],
28
+ install_requires=[
29
+ "chardet", "numpy", "pandas", "parse",
30
+ "scipy", "xlrd", "XlsxWriter", "pdf_maker"
31
+ ],
32
32
  classifiers=[
33
33
  'Development Status :: 3 - Alpha',
34
34
  'Programming Language :: Python :: 3',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes