I have an error when trying to use a newly created unaligned calibration file (.xml) with braid to do some tracking, so i can align my calibration to the arena i am using.
flydra_analysis_calibration_to_xml file1.braidz.h5.recal/result > new-calibration-name.xml
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1205:
UserWarning: No minimum eccentricity specified, using default
warnings.warn("No minimum eccentricity specified, using default")
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1245:
UserWarning: no non-linear data (e.g. radial distortion) in calibration
for Basler_40044501
"in calibration for %s" % cam_id
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1245:
UserWarning: no non-linear data (e.g. radial distortion) in calibration
for Basler_40044504
"in calibration for %s" % cam_id
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1245:
UserWarning: no non-linear data (e.g. radial distortion) in calibration
for Basler_40044507
"in calibration for %s" % cam_id
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1245:
UserWarning: no non-linear data (e.g. radial distortion) in calibration
for Basler_40044718
"in calibration for %s" % cam_id
/home/flycubem1604/.local/lib/python2.7/site-packages/flydra_core/reconstruct.py:1245:
UserWarning: no non-linear data (e.g. radial distortion) in calibration
for Basler_40044719
"in calibration for %s" % cam_id
However, when i try to use the generated xml file in braid, i get the following error:
Jan 27 12:46:57.567 INFO flydra2_mainbrain: using calibration:
/home/flycubem1604/DATA/calibration_runs/20230126/evening/new-calibration-name.xml
Error: cannot convert to or from flydra xml
Has anyone encountered this before? I am confused since older generated xml files work with braid but not the newly generated files. I have attached an old xml which works fine (cal2.xml) and a new xml (new-calbration-name.xml) which creates the error for troubleshooting.
Many thanks,
Nick