# Path: celerite/terms.py
# @property
# def terms(self):
#     """A list of all the terms included in a sum of terms"""
#     return [self]


import pytest
import numpy as np
from itertools import product
from celerite import terms
# -*- coding: utf-8 -*-

from __future__ import division, print_function



__all__ = ["test_product", "test_jacobian"]

def test_product(seed=42):
    np.random.seed(seed)
    t = np.sort(np.random.uniform(0, 5, 100))
    tau = t[:, None] - t[None, :]

    k1 = terms.RealTerm(log_a=0.1, log_c=0.5)

# Path: celerite/terms.py
# @property
# def terms(self):
#     """A list of all the terms included in a sum of terms"""
#     return [self]


# Path: tests/test_terms.py
import pytest
import numpy as np
from itertools import product
from celerite import terms

# -*- coding: utf-8 -*-

from __future__ import division, print_function



__all__ = ["test_product", "test_jacobian"]

def test_product(seed=42):
    np.random.seed(seed)
    t = np.sort(np.random.uniform(0, 5, 100))
    tau = t[:, None] - t[None, :]

    k1 = terms.RealTerm(log_a=0.1, log_c=0.5)

    k2 = terms.ComplexTerm(0.2, -3.0, 0.5, 0.01)