chanter 0.1.0__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chanter
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
  Summary: Simple quiescent galaxy spectral modelling and fitting
5
5
  Author: Struan Stevenson
6
6
  Author-email: struan.stevenson@ed.ac.uk
@@ -10,7 +10,6 @@ Requires-Dist: astropy
10
10
  Requires-Dist: matplotlib
11
11
  Requires-Dist: spectres
12
12
  Requires-Dist: nautilus-sampler
13
- Requires-Dist: json
14
13
  Dynamic: author
15
14
  Dynamic: author-email
16
15
  Dynamic: description
@@ -22,4 +21,3 @@ Dynamic: summary
22
21
 
23
22
  #### CHANTER is a simple quiecent galaxy spectral energy distribution (SED) modelling/fitting code, based on the larger BAGPIPES code, of astronomical literary fame. CHANTER provides the barebones of Stellar Population Synthesis (SPS), as well as redshift and dust/IGM attenuation effects, and is written in a simple and digestible format, ideal for learning the theory behind larger spectral fitting software codes. CHANTER does not yet include nebular attenuation, and therefore only models the SED of quiescent galaxies.
24
23
 
25
- Currently, I cannot include the SSP/IGM grids in the package due to PyPi size limitations, but this is being appealed.
@@ -2,4 +2,3 @@
2
2
 
3
3
  #### CHANTER is a simple quiecent galaxy spectral energy distribution (SED) modelling/fitting code, based on the larger BAGPIPES code, of astronomical literary fame. CHANTER provides the barebones of Stellar Population Synthesis (SPS), as well as redshift and dust/IGM attenuation effects, and is written in a simple and digestible format, ideal for learning the theory behind larger spectral fitting software codes. CHANTER does not yet include nebular attenuation, and therefore only models the SED of quiescent galaxies.
4
4
 
5
- Currently, I cannot include the SSP/IGM grids in the package due to PyPi size limitations, but this is being appealed.
@@ -0,0 +1,40 @@
1
+ # N lambdaj A_LAF_J_1 A_LAF_J_2 A_LAF_J_3 A_DLA_J_1 A_DLA_J_2
2
+ 2 1215.67 1.690e-02 2.354e-03 1.026e-04 1.617e-04 5.390e-05
3
+ 3 1025.72 4.692e-03 6.536e-04 2.849e-05 1.545e-04 5.151e-05
4
+ 4 972.537 2.239e-03 3.119e-04 1.360e-05 1.498e-04 4.992e-05
5
+ 5 949.743 1.319e-03 1.837e-04 8.010e-06 1.460e-04 4.868e-05
6
+ 6 937.803 8.707e-04 1.213e-04 5.287e-06 1.429e-04 4.763e-05
7
+ 7 930.748 6.178e-04 8.606e-05 3.752e-06 1.402e-04 4.672e-05
8
+ 8 926.226 4.609e-04 6.421e-05 2.799e-06 1.377e-04 4.590e-05
9
+ 9 923.150 3.569e-04 4.971e-05 2.167e-06 1.355e-04 4.516e-05
10
+ 10 920.963 2.843e-04 3.960e-05 1.726e-06 1.335e-04 4.448e-05
11
+ 11 919.352 2.318e-04 3.229e-05 1.407e-06 1.316e-04 4.385e-05
12
+ 12 918.129 1.923e-04 2.679e-05 1.168e-06 1.298e-04 4.326e-05
13
+ 13 917.181 1.622e-04 2.259e-05 9.847e-07 1.281e-04 4.271e-05
14
+ 14 916.429 1.385e-04 1.929e-05 8.410e-07 1.265e-04 4.218e-05
15
+ 15 915.824 1.196e-04 1.666e-05 7.263e-07 1.250e-04 4.168e-05
16
+ 16 915.329 1.043e-04 1.453e-05 6.334e-07 1.236e-04 4.120e-05
17
+ 17 914.919 9.174e-05 1.278e-05 5.571e-07 1.222e-04 4.075e-05
18
+ 18 914.576 8.128e-05 1.132e-05 4.936e-07 1.209e-04 4.031e-05
19
+ 19 914.286 7.251e-05 1.010e-05 4.403e-07 1.197e-04 3.989e-05
20
+ 20 914.039 6.505e-05 9.062e-06 3.950e-07 1.185e-04 3.949e-05
21
+ 21 913.826 5.868e-05 8.174e-06 3.563e-07 1.173e-04 3.910e-05
22
+ 22 913.641 5.319e-05 7.409e-06 3.230e-07 1.162e-04 3.872e-05
23
+ 23 913.480 4.843e-05 6.746e-06 2.941e-07 1.151e-04 3.836e-05
24
+ 24 913.339 4.427e-05 6.167e-06 2.689e-07 1.140e-04 3.800e-05
25
+ 25 913.215 4.063e-05 5.660e-06 2.467e-07 1.130e-04 3.766e-05
26
+ 26 913.104 3.738e-05 5.207e-06 2.270e-07 1.120e-04 3.732e-05
27
+ 27 913.006 3.454e-05 4.811e-06 2.097e-07 1.110e-04 3.700e-05
28
+ 28 912.918 3.199e-05 4.456e-06 1.943e-07 1.101e-04 3.668e-05
29
+ 29 912.839 2.971e-05 4.139e-06 1.804e-07 1.091e-04 3.637e-05
30
+ 30 912.768 2.766e-05 3.853e-06 1.680e-07 1.082e-04 3.607e-05
31
+ 31 912.703 2.582e-05 3.596e-06 1.568e-07 1.073e-04 3.578e-05
32
+ 32 912.645 2.415e-05 3.364e-06 1.466e-07 1.065e-04 3.549e-05
33
+ 33 912.592 2.263e-05 3.153e-06 1.375e-07 1.056e-04 3.521e-05
34
+ 34 912.543 2.126e-05 2.961e-06 1.291e-07 1.048e-04 3.493e-05
35
+ 35 912.499 2.000e-05 2.785e-06 1.214e-07 1.040e-04 3.466e-05
36
+ 36 912.458 1.885e-05 2.625e-06 1.145e-07 1.032e-04 3.440e-05
37
+ 37 912.420 1.779e-05 2.479e-06 1.080e-07 1.024e-04 3.414e-05
38
+ 38 912.385 1.682e-05 2.343e-06 1.022e-07 1.017e-04 3.389e-05
39
+ 39 912.353 1.593e-05 2.219e-06 9.673e-08 1.009e-04 3.364e-05
40
+ 40 912.324 1.510e-05 2.103e-06 9.169e-08 1.002e-04 3.339e-05
Binary file
@@ -47,8 +47,19 @@ def resample_igm_grid(wavs):
47
47
  return grid
48
48
 
49
49
 
50
- hdul = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps.fits')
51
- master_base = np.array((hdul[1].data, hdul[2].data, hdul[3].data, hdul[4].data, hdul[5].data, hdul[6].data, hdul[7].data))
50
+ '''
51
+ ######
52
+ # Due to PyPi file size limits, I only include solar metallicity SSPs here.
53
+ ######
54
+ '''
55
+ #hdul_1 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_1.fits')
56
+ #hdul_2 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_2.fits')
57
+ #hdul_3 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_3.fits')
58
+ #hdul_4 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_4.fits')
59
+ hdul_5 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_5.fits')
60
+ #hdul_6 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_6.fits')
61
+ #hdul_7 = fits.open(os.path.dirname(os.path.realpath(__file__)) + '/grids/ssps_7.fits')
62
+ master_base = np.array((hdul_5[1].data, hdul_5[1].data, hdul_5[1].data, hdul_5[1].data, hdul_5[1].data, hdul_5[1].data, hdul_5[1].data))
52
63
 
53
64
  rest_target_wavs = np.arange(100., 50000., 25.)
54
65
  grid = resample_ssp_wavs(rest_target_wavs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chanter
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
  Summary: Simple quiescent galaxy spectral modelling and fitting
5
5
  Author: Struan Stevenson
6
6
  Author-email: struan.stevenson@ed.ac.uk
@@ -10,7 +10,6 @@ Requires-Dist: astropy
10
10
  Requires-Dist: matplotlib
11
11
  Requires-Dist: spectres
12
12
  Requires-Dist: nautilus-sampler
13
- Requires-Dist: json
14
13
  Dynamic: author
15
14
  Dynamic: author-email
16
15
  Dynamic: description
@@ -22,4 +21,3 @@ Dynamic: summary
22
21
 
23
22
  #### CHANTER is a simple quiecent galaxy spectral energy distribution (SED) modelling/fitting code, based on the larger BAGPIPES code, of astronomical literary fame. CHANTER provides the barebones of Stellar Population Synthesis (SPS), as well as redshift and dust/IGM attenuation effects, and is written in a simple and digestible format, ideal for learning the theory behind larger spectral fitting software codes. CHANTER does not yet include nebular attenuation, and therefore only models the SED of quiescent galaxies.
24
23
 
25
- Currently, I cannot include the SSP/IGM grids in the package due to PyPi size limitations, but this is being appealed.
@@ -9,6 +9,9 @@ chanter.egg-info/dependency_links.txt
9
9
  chanter.egg-info/requires.txt
10
10
  chanter.egg-info/top_level.txt
11
11
  chanter/grids/__init__.py
12
+ chanter/grids/d_igm_grid_inoue14.fits
13
+ chanter/grids/lyman_series_coefs_inoue_2014_table2.txt
14
+ chanter/grids/ssps_5.fits
12
15
  chanter/utils/__init__.py
13
16
  chanter/utils/filter_set.py
14
17
  chanter/utils/make_igm_grid.py
@@ -3,4 +3,3 @@ astropy
3
3
  matplotlib
4
4
  spectres
5
5
  nautilus-sampler
6
- json
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text()
8
8
  setup(
9
9
  name='chanter',
10
10
 
11
- version='0.1.0',
11
+ version='0.1.3',
12
12
 
13
13
  description='Simple quiescent galaxy spectral modelling and fitting',
14
14
 
@@ -24,6 +24,6 @@ setup(
24
24
 
25
25
  package_data = {'': ['*.txt', '*.fits'],},
26
26
 
27
- install_requires=["numpy", "astropy", "matplotlib", "spectres", "nautilus-sampler", "json"],
27
+ install_requires=["numpy", "astropy", "matplotlib", "spectres", "nautilus-sampler"],
28
28
 
29
29
  )
File without changes
File without changes