Expand description
Generate a synthetic multi-camera calibration from a Scenario and
serialize it to the flydra XML format that Braid loads.
Functions§
- build_
calibration - Build the perfect generation calibration:
countideal-pinhole cameras evenly spaced on a horizontal ring around the arena center, each looking at the center. - build_
tracking_ calibration - Build the calibration Braid tracks with: the perfect generation calibration
of
build_calibrationwith the scenario’sCalibrationPerturbationapplied (pose / intrinsic error). With the default (identity) perturbation this is byte-identical tobuild_calibration; with a nonzero perturbation the tracker reconstructs with a slightly wrong calibration while the detections were generated with the perfect one, so reprojection error is realistic. - to_
flydra_ xml_ string - Serialize a calibration to flydra XML (the format referenced by
mainbrain.cal_fname).