"""Init file of the flip package."""

import os

from flip.utils import create_log

log = create_log()
from . import (
    covariance,
    data_vector,
    fisher,
    fitter,
    gridding,
    likelihood,
    power_spectra,
    utils,
)

try:
    import jax

    jax.config.update("jax_enable_x64", True)
except:
    log.add("Jax is not available, loading numpy and scipy instead")

__version__ = "1.0.0"
__flip_dir_path__ = os.path.dirname(__file__)
