add trans to NeXus file