# Path: pyLIMA/microlmagnification.py
# VBB = VBBinaryLensing.VBBinaryLensing()
# def impact_parameter(tau, uo):
# def amplification_PSPL(tau, uo):
# def Jacobian_amplification_PSPL(tau, uo):
# def amplification_FSPLarge(tau, uo, rho, limb_darkening_coefficient):
# def amplification_FSPLee(tau, uo, rho, gamma):
# def amplification_FSPL(tau, uo, rho, gamma, yoo_table):
# def Jacobian_amplification_FSPL(tau, uo, rho, gamma, yoo_table):
# def amplification_USBL(separation, mass_ratio, x_source, y_source, rho):
# def amplification_FSBL(separation, mass_ratio, x_source, y_source, rho, limb_darkening_coefficient):
# def amplification_PSBL(separation, mass_ratio, x_source, y_source):
# def amplification_FSPL_for_Lyrae(tau, uo, rho, gamma, yoo_table):
# def jit_integrand_function(integrand_function):
#     def wrapped(n, xx):
# def Lee_limits(x,u,rho,gamma) :
# def Lee_US( x,u,rho,gamma ):
# def Lee_FS(args) :
# 
# Path: pyLIMA/microlmodels.py
# class ModelException(Exception):
# class MLModel(object):
# class ModelPSPL(MLModel):
# class ModelFSPL(MLModel):
# class ModelFSPLee(MLModel):
# class ModelFSPLarge(MLModel):
# class ModelDSPL(MLModel):
# class ModelDFSPL(MLModel):
# class ModelFSBL(MLModel):
# class ModelUSBL(ModelFSBL):
# class ModelPSBL(ModelFSBL):
# class ModelVariablePL(MLModel):
# def create_model(model_type, event, model_arguments=[], parallax=['None', 0.0], xallarap=['None'],
#                  orbital_motion=['None', 0.0], source_spots='None', blend_flux_ratio=True):
#     def __init__(self, event, model_arguments=[], parallax=['None', 0.0], xallarap=['None'],
#                  orbital_motion=['None', 0.0], source_spots='None', blend_flux_ratio=True):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def define_pyLIMA_standard_parameters(self):
#     def define_model_parameters(self):
#     def print_model_parameters(self):
#     def compute_the_microlensing_model(self, telescope, pyLIMA_parameters):
#     def _default_microlensing_model(self, telescope, pyLIMA_parameters, amplification):
#     def derive_telescope_flux(self, telescope, pyLIMA_parameters, amplification):
#     def compute_pyLIMA_parameters(self, fancy_parameters):
#     def find_origin(self, pyLIMA_parameters):
#     def uo_to_from_uc_tc(self, pyLIMA_parameters):
#     def uc_tc_from_uo_to(selfself,pyLIMA_parameters):
#     def fancy_parameters_to_pyLIMA_standard_parameters(self, fancy_parameters):
#     def pyLIMA_standard_parameters_to_fancy_parameters(self, pyLIMA_parameters):
#     def source_trajectory(self, telescope, to, uo, tE, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def Jacobian_model_magnification(self, telescope, pyLIMA_parameters):
#     def model_Jacobian(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def Jacobian_model_magnification(self, telescope, pyLIMA_parameters):
#     def model_Jacobian(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def find_caustics(self, separation, mass_ratio):
#     def find_origin(self, pyLIMA_parameters):
#     def uo_to_from_uc_tc(self, pyLIMA_parameters):
#     def uc_tc_from_uo_to(self, pyLIMA_parameters, to, uo):
#     def find_binary_regime(self, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def compute_the_microlensing_model(self, telescope, pyLIMA_parameters):
#     def derive_telescope_flux(self, telescope, pyLIMA_parameters, amplification, pulsations):
#     def compute_pulsations(self, time, filter, pyLIMA_parameters):


import numpy as np
from pyLIMA import microlmagnification
from pyLIMA import microlmodels
# -*- coding: utf-8 -*-
"""
Created on Thu May 19 17:02:33 2016

@author: ebachelet
"""



def test_impact_parameter():
    tau = np.array([1])
    uo = np.array([2])



# Path: pyLIMA/microlmagnification.py
# VBB = VBBinaryLensing.VBBinaryLensing()
# def impact_parameter(tau, uo):
# def amplification_PSPL(tau, uo):
# def Jacobian_amplification_PSPL(tau, uo):
# def amplification_FSPLarge(tau, uo, rho, limb_darkening_coefficient):
# def amplification_FSPLee(tau, uo, rho, gamma):
# def amplification_FSPL(tau, uo, rho, gamma, yoo_table):
# def Jacobian_amplification_FSPL(tau, uo, rho, gamma, yoo_table):
# def amplification_USBL(separation, mass_ratio, x_source, y_source, rho):
# def amplification_FSBL(separation, mass_ratio, x_source, y_source, rho, limb_darkening_coefficient):
# def amplification_PSBL(separation, mass_ratio, x_source, y_source):
# def amplification_FSPL_for_Lyrae(tau, uo, rho, gamma, yoo_table):
# def jit_integrand_function(integrand_function):
#     def wrapped(n, xx):
# def Lee_limits(x,u,rho,gamma) :
# def Lee_US( x,u,rho,gamma ):
# def Lee_FS(args) :
# 
# Path: pyLIMA/microlmodels.py
# class ModelException(Exception):
# class MLModel(object):
# class ModelPSPL(MLModel):
# class ModelFSPL(MLModel):
# class ModelFSPLee(MLModel):
# class ModelFSPLarge(MLModel):
# class ModelDSPL(MLModel):
# class ModelDFSPL(MLModel):
# class ModelFSBL(MLModel):
# class ModelUSBL(ModelFSBL):
# class ModelPSBL(ModelFSBL):
# class ModelVariablePL(MLModel):
# def create_model(model_type, event, model_arguments=[], parallax=['None', 0.0], xallarap=['None'],
#                  orbital_motion=['None', 0.0], source_spots='None', blend_flux_ratio=True):
#     def __init__(self, event, model_arguments=[], parallax=['None', 0.0], xallarap=['None'],
#                  orbital_motion=['None', 0.0], source_spots='None', blend_flux_ratio=True):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def define_pyLIMA_standard_parameters(self):
#     def define_model_parameters(self):
#     def print_model_parameters(self):
#     def compute_the_microlensing_model(self, telescope, pyLIMA_parameters):
#     def _default_microlensing_model(self, telescope, pyLIMA_parameters, amplification):
#     def derive_telescope_flux(self, telescope, pyLIMA_parameters, amplification):
#     def compute_pyLIMA_parameters(self, fancy_parameters):
#     def find_origin(self, pyLIMA_parameters):
#     def uo_to_from_uc_tc(self, pyLIMA_parameters):
#     def uc_tc_from_uo_to(selfself,pyLIMA_parameters):
#     def fancy_parameters_to_pyLIMA_standard_parameters(self, fancy_parameters):
#     def pyLIMA_standard_parameters_to_fancy_parameters(self, pyLIMA_parameters):
#     def source_trajectory(self, telescope, to, uo, tE, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def Jacobian_model_magnification(self, telescope, pyLIMA_parameters):
#     def model_Jacobian(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def Jacobian_model_magnification(self, telescope, pyLIMA_parameters):
#     def model_Jacobian(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def find_caustics(self, separation, mass_ratio):
#     def find_origin(self, pyLIMA_parameters):
#     def uo_to_from_uc_tc(self, pyLIMA_parameters):
#     def uc_tc_from_uo_to(self, pyLIMA_parameters, to, uo):
#     def find_binary_regime(self, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def model_type(self):
#     def paczynski_model_parameters(self):
#     def model_magnification(self, telescope, pyLIMA_parameters):
#     def compute_the_microlensing_model(self, telescope, pyLIMA_parameters):
#     def derive_telescope_flux(self, telescope, pyLIMA_parameters, amplification, pulsations):
#     def compute_pulsations(self, time, filter, pyLIMA_parameters):


# Path: pyLIMA/test/test_microlmagnification.py
import numpy as np
from pyLIMA import microlmagnification
from pyLIMA import microlmodels

# -*- coding: utf-8 -*-
"""
Created on Thu May 19 17:02:33 2016

@author: ebachelet
"""



def test_impact_parameter():
    tau = np.array([1])
    uo = np.array([2])



    impact_param = microlmagnification.impact_parameter(tau, uo)