help > bxh python missing analyze tools
Showing 1-3 of 3 posts
Display:
Results per page:
Jan 30, 2025  03:01 AM | Tristan Yates - Yale University
bxh python missing analyze tools

Hello! I noticed the new bxh release for python, which is fantastic! However, both analyze2bxh and bxh2analyze (which to my knowledge are necessary tools for interacting with nifti images) seem to be missing from the package. Is there any reason for this? Would it be possible to include these tools in the updated release? 

Jan 30, 2025  02:01 PM | Syam Gadde
bxh python missing analyzetools

analyze2bxh can be replaced with bxhabsorb. And most tools will now output .nii.gz with a .bxh file.
If you're trying to create nifti files from a bxh file, we usually now use bxhselect INPUT.bxh OUTPUTPREFIX which will create OUTPREFIX.bxh and OUTPUTPREFIX.nii.gz

If that doesn't work for you, let me know!
Jan 31, 2025  04:01 PM | Tristan Yates - Yale University
RE: bxh python missing analyzetools

Thank you so much for your rapid response! This is helpful and I think our needs are covered by the existing tools. 

One quick note that bxhabsorb seems to work in creating a bxh file from the nii.gz file, but results in this warning:

Error importing bxh.converters.dicom: No module named 'pydicom._storage_sopclass_uids'
  warnings.warn("Error importing bxh.converters.dicom: %s" % (e,))