def __init__(self, domain_dim: int, ssp_dim: int, domain_bounds=None, length_scale=1, rng=np.random.default_rng()):
    partial_phases = (((rng.random.rand((ssp_dim // 2), domain_dim) * 2) * np.pi) - np.pi)
    axis_matrix = _constructaxisfromphases(partial_phases)
    super().__init__(domain_dim, ssp_dim, axis_matrix=axis_matrix, domain_bounds=domain_bounds, length_scale=length_scale)
def __init__(self, domain_dim: int, ssp_dim: int, domain_bounds=None, length_scale=1, rng=np.random.default_rng()):
    partial_phases = (((rng.random.rand((ssp_dim // 2), domain_dim) * 2) * np.pi) - np.pi)
    axis_matrix = _constructaxisfromphases(partial_phases)
    super().__init__(domain_dim, ssp_dim, axis_matrix=axis_matrix, domain_bounds=domain_bounds, length_scale=length_scale)