🧵 Converting 2D Splines to Fan Splines - articulateinstruments/AAA-DeepLabCut-Resources GitHub Wiki
This is not a recommended process as there are better ways to analyse splines but it provides a route to exporting polar coordinates.
- Click on the Batch tab then the Change Splines subtab.
- Select the DLC Tongue spline.
- Select Convert to Fan Spline.
- A submenu will appear with preformed fans with different origins and extents. The fan designed to fit the ultrasonic data with origin at the probe origin.

- Check the Choose recordings tab has selected the recordings that you want to convert. Use the
to change the selection.

- Return to the Change Splines subtab and click

-
Instead, create a new fan with its origin at the short tendon. This will guarantee the whole contour to be converted.
Right-click and choose fan setup. -
Change the fan name to Short tendon. Set the cyan length measure from top to bottom of display and set length to ultrasonic depth + probe radius. Make sure the pharynx and dental labels are the right way round. If not, use
button. Click and drag the fan origin to the short tendon.

- Run Convert to fan spline but select the short tendon fan that you have just created. The resulting converted spline completely matches the original Tongue spline. It is also based on an anatomical origin which will be consistent across sessions rather than a probe origin which may be in a different position.

While there are many spline analysis options within AAA, splines may also be exported for analyses in R such as GAM.
