Oh, doing further searching and found this post:
I’m doing attempting this sort of thing now, setting kinds
tags:
img.GetMetaDataDictionary()['kinds'] = 'time domain domain'
But this doesn’t end up in the output .nrrd header metadata. I still end up with:
kinds: domain domain domain
I’ve tried setting the kinds
tag in MetaDataDictionary dictionaries in all these:
- the image,
- the writer filter,
- the image IO (NrrdImageIO).
And yet, somehow, in the output I don’t see the time
domain.
Would you suggest what I’m doing wrong here?