class_docstr: Test circular.py.
class_docstr_tok: ["Test","circular.py","."]
docstr: Test function circ_axial.
docstr_tok: ["Test","function","circ_axial","."]
code: def test_circ_axial(self):
      """Test function circ_axial."""
      df = read_dataset("circular")
      angles = df["Orientation"].to_numpy()
      angles = circ_axial(np.deg2rad(angles), 2)
      assert np.allclose(
          np.round(angles, 4),
          [0, 0.7854, 1.5708, 2.3562, 3.1416, 3.9270, 4.7124, 5.4978],
      )
  
file_path: pingouin/pingouin/tests/test_circular.py
imports: import pytest
  import numpy
  from unittest import TestCase
  from scipy.stats import circmean
  from pingouin import read_dataset
  from pingouin.circular import convert_angles, _checkangles
  from pingouin.circular import circ_axial, circ_corrcc, circ_corrcl, circ_mean, circ_r, circ_rayleigh, circ_vtest
label_desc: Use image node_id 2 for calling the TestCircular obj's underlying member method code with example usage: obj.test_circ_axial() without return types