Skip to content

Conversation

@YooSunYoung
Copy link
Member

For now it's only checking very few things but later we can add more metadata in the exported group and check them later.

@YooSunYoung YooSunYoung changed the base branch from main to lauetof February 27, 2025 12:58
@github-project-automation github-project-automation bot moved this to In progress in Development Board Feb 27, 2025
@YooSunYoung YooSunYoung moved this from In progress to Selected in Development Board Feb 27, 2025
Copy link
Contributor

@jokasimr jokasimr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to check that the metadata matches? Is it plausible that they don't match?

@YooSunYoung
Copy link
Member Author

Why do we need to check that the metadata matches? Is it plausible that they don't match?

Yes, you could in principle use any files to append the histogram if detector name matches.

@SimonHeybrock
Copy link
Member

Related: #115 (comment)

@YooSunYoung YooSunYoung merged commit eeb0b8b into lauetof Mar 7, 2025
3 of 4 checks passed
@github-project-automation github-project-automation bot moved this from Selected to Done in Development Board Mar 7, 2025
@YooSunYoung YooSunYoung deleted the validity-check branch March 7, 2025 08:38
YooSunYoung added a commit that referenced this pull request Mar 27, 2025
* Lauetof export interface.

* Raw data metadata as dataclass

* Allow arbitrary metadata and export time of flight from the coordinate.

* Specify unit

Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>

* Add docstring to export methods.

* Add missing attributes.

* Remove comments

* Write unit only when applicable.

* Update comment.

* Validity check when appending histogram on top of metadata  (#116)

* Separate metatadata from event data for easy export.

* Add raw data metadata retrieval part.

* Lauetof export interface.

* Raw data metadata as dataclass

* Allow arbitrary metadata and export time of flight from the coordinate.

* Separate metatadata from event data for easy export.

* Add raw data metadata retrieval part.

* Satety check in the export function.

* Add warning filter.

* Apply automatic formatting

* Apply automatic formatting

* Fix typo

* Move functions to more proper module.

* Lauetof export interface.

* Raw data metadata as dataclass

* Allow arbitrary metadata and export time of flight from the coordinate.

* Specify unit

Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>

* Add docstring to export methods.

* Add missing attributes.

* Remove comments

* Fix typo.

* Apply automatic formatting

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>

* Wrap detector processing step.

* Lower pin of essreduce to use accumulators.

* Specify dtype of string. [skip ci]

* Use essreduce accumulator.

* Export NXsource.

* Fix type hint

* Apply automatic formatting

* Data reduction wrapper interface  (#122)

* Executable module.

* Save crystal rotation.

* Fix crystal rotation.

* Remove all zero lines, not just the first one (#123)

* remove all zero lines, not just the first one

* Apply automatic formatting

* Update src/ess/nmx/mcstas/load.py

* Apply automatic formatting

---------

Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Sunyoung Yoo <luysunyoung9@gmail.com>

* Apply suggestions from code review

Co-authored-by: Mridul Seth <mail@mriduls.com>

* Apply automatic formatting

* Add bitshuffle support, compress binned datasets using bitshuffle/LZ4 (#125)

* add bitshuffle support, compress binned datasets using bitshuffle/LZ4

* Apply automatic formatting

* Add docstring and option.

---------

Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: YooSunyoung <luysunyoung9@gmail.com>

* Update default space group in mtz io module (#126)

* Executable module.

* Save crystal rotation.

* Fix crystal rotation.

* Remove all zero lines, not just the first one (#123)

* remove all zero lines, not just the first one

* Apply automatic formatting

* Update src/ess/nmx/mcstas/load.py

* Apply automatic formatting

---------

Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Sunyoung Yoo <luysunyoung9@gmail.com>

* Apply suggestions from code review

Co-authored-by: Mridul Seth <mail@mriduls.com>

* Apply automatic formatting

* Add bitshuffle support, compress binned datasets using bitshuffle/LZ4 (#125)

* add bitshuffle support, compress binned datasets using bitshuffle/LZ4

* Apply automatic formatting

* Add docstring and option.

---------

Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: YooSunyoung <luysunyoung9@gmail.com>

* Update mtz_io.py

make default space group P1 (lowest symmetry space group)

* Update default space group in tests.

---------

Co-authored-by: YooSunyoung <luysunyoung9@gmail.com>
Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Mridul Seth <mail@mriduls.com>

---------

Co-authored-by: Aaron Finke <45569605+aaronfinke@users.noreply.github.com>
Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Mridul Seth <mail@mriduls.com>

---------

Co-authored-by: Simon Heybrock <12912489+SimonHeybrock@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Aaron Finke <45569605+aaronfinke@users.noreply.github.com>
Co-authored-by: Aaron Finke <aaron.finke@ess.eu>
Co-authored-by: Mridul Seth <mail@mriduls.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants