-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TwoPoint metadata, constructiors for ready objects, metadata serializ…
…ation. (#399) * Creating constructiors for ready objects. * Added a set of dataclasses to describe TwoPoint sources metadata. * Defining MeasuredTypes. * Adding translation between metadata types and SACC strings * Refactoring to reduce complexity of read method. * Using (str, Enum) since StrEnum is not available before python 3.11. * kw_only option for dataclasses is only available on python >= 3.10. * Refactor _compute_theory_vector into _compute_theory_vector_harmonic and _compute_theory_vector_real_space. * Testing measured types compatibilities. * Testing type related exceptions. * Using MagicMock in a way compatible with py39 -- py312. * TwoPoint metadata testing. * Testing SACC metadata extraction. * Better type detection, more tests. * Testing cosmosis output in the datablock. * Checking two point harmonic and real. * Testing create ready and source factories. * Testing factory cache. * Testing two_point windows and cuts. * Testing more error cases. * Testing data and configuration warnings. * Add serialization to and from YAML * Make TwoPoint serializable, add tests and fixtures * Add serialization for TwoPointCells * Add serialization support for Window * Add method to test optional numpy arrays for equality * Add serialization for TwoPointCWindow * Add serialization to TwoPointXiTheta * Add restriction to glib version * Add testing for Window equality method --------- Co-authored-by: Sandro Dias Pinto Vitenti <vitenti@uel.br>
- Loading branch information
1 parent
221cf65
commit 5a344f4
Showing
22 changed files
with
4,223 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.