I use AFNI's `3dNotes -h "{command}" {filename}` command a lot but it requires the use of `subprocess.run()` to run it from Python. I believe `nibabel` should provide this feature in a Pythonic way, similar to the way other parameters of the header can be edited.