jaxspec 0.1.2__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.
Files changed (30) hide show
  1. {jaxspec-0.1.2 → jaxspec-0.1.3}/PKG-INFO +1 -1
  2. {jaxspec-0.1.2 → jaxspec-0.1.3}/pyproject.toml +1 -1
  3. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/abc.py +2 -1
  4. {jaxspec-0.1.2 → jaxspec-0.1.3}/LICENSE.md +0 -0
  5. {jaxspec-0.1.2 → jaxspec-0.1.3}/README.md +0 -0
  6. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/__init__.py +0 -0
  7. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/analysis/__init__.py +0 -0
  8. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/analysis/_plot.py +0 -0
  9. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/analysis/compare.py +0 -0
  10. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/analysis/results.py +0 -0
  11. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/__init__.py +0 -0
  12. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/grouping.py +0 -0
  13. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/instrument.py +0 -0
  14. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/obsconf.py +0 -0
  15. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/observation.py +0 -0
  16. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/ogip.py +0 -0
  17. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/data/util.py +0 -0
  18. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/fit.py +0 -0
  19. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/__init__.py +0 -0
  20. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/additive.py +0 -0
  21. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/background.py +0 -0
  22. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/list.py +0 -0
  23. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/model/multiplicative.py +0 -0
  24. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/scripts/__init__.py +0 -0
  25. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/scripts/debug.py +0 -0
  26. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/util/__init__.py +0 -0
  27. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/util/abundance.py +0 -0
  28. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/util/integrate.py +0 -0
  29. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/util/online_storage.py +0 -0
  30. {jaxspec-0.1.2 → jaxspec-0.1.3}/src/jaxspec/util/typing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jaxspec
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: jaxspec is a bayesian spectral fitting library for X-ray astronomy.
5
5
  Home-page: https://github.com/renecotyfanboy/jaxspec
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "jaxspec"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "jaxspec is a bayesian spectral fitting library for X-ray astronomy."
5
5
  authors = ["sdupourque <sdupourque@irap.omp.eu>"]
6
6
  license = "MIT"
@@ -133,7 +133,8 @@ class SpectralModel:
133
133
  return self.__rich_repr__()
134
134
 
135
135
  def __repr__(self):
136
- rich.print(self.__rich_repr__())
136
+ if not base.frame_stack:
137
+ rich.print(self.__rich_repr__())
137
138
  return ""
138
139
 
139
140
  def photon_flux(self, params, e_low, e_high, n_points=2):
File without changes
File without changes
File without changes
File without changes