-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow group_by
and sort_by
to take a list of tags
#133
Comments
DOSMA supports multi-tag sorting/group_by - DOSMA/dosma/core/io/dicom_io.py Lines 83 to 84 in bd5efec
For arguments to |
Default for |
Ha. Maybe an option for a callback would be nice for users to define their own sorting algo. Is that what you meant with
The problem with |
For some DICOM datasets I would like to order the slices based on multiple tags. For example, in a dataset with a
TemporalPositionIdentifier
present, I would like to sort byImagePositionPatient
first, and then using the position identifier. The same applies to group_by too.Preferably, it would be nice to add support for ascending/descending sorts for each tag too:
NB: maybe we should consider to set the default
sort_by
toImagePositionPatient
.The text was updated successfully, but these errors were encountered: