# Path: alis/almsgs.py
# class Colors:
# class msgs:
#     def disable(self):
#     def __init__(self):
#     def alisheader(self, prognm, verbose=2):
#     def signal_handler(self, signalnum, handler):
#     def error(self, msg, verbose=None):
#     def info(self, msg, verbose=None):
#     def warn(self, msg, verbose=None):
#     def test(self, msg, verbose=None):
#     def bug(self, msg, verbose=None):
#     def work(self, msg, verbose=None):
#     def input(self):
#     def newline(self,verbose=None):
#     def indent(self,verbose=None):
# 
# Path: alis/alfunc_base.py
# class Base :
#     def __init__(self, prgname="", getinst=False, atomic=None, verbose=2):
#     def call_CPU(self, x, p, ae='em', mkey=None, ncpus=1):
#         def model():
#     def call_GPU(self, x, p, ae='em'):
#     def adjust_fix(self, mp, cntr, jval, parj):
#     def adjust_lim(self, mp, cntr, jval, jind, parj):
#     def getminmax(self, par, fitrng, Nsig=5.0):
#     def load(self, instr, cntr, mp, specid):
#         def check_tied_param(ival, cntr, mps, iind):
#     def parin(self, i, par, parb):
#     def parout(self, params, mp, istart, level, errs=None, reletter=False, conv=None):
#     def set_pinfo(self, pinfo, level, mp, lnk, mnum):
#     def set_vars(self, p, level, mp, ival, wvrng=[0.0,0.0], spid='None', levid=None, nexbin=None, ddpid=None, getinfl=False):
#     def gtoef(self, num, fmt):
#     def tick_info(self, p, level, mp, ival, wvrng=[0.0,0.0], spid='None', levid=None):
# def call(prgname="",getfuncs=False,getinst=False,atomic=None,verbose=2):


import numpy as np
import astropy.units as u
from alis import almsgs
from alis import alfunc_base
    from linetools.spectra.lsf import LSF as ltLSF
msgs = almsgs.msgs()
try:
except ImportError:
    msgs.warn("linetools is not installed. Install it if you wish to use LSF")



# Path: alis/almsgs.py
# class Colors:
# class msgs:
#     def disable(self):
#     def __init__(self):
#     def alisheader(self, prognm, verbose=2):
#     def signal_handler(self, signalnum, handler):
#     def error(self, msg, verbose=None):
#     def info(self, msg, verbose=None):
#     def warn(self, msg, verbose=None):
#     def test(self, msg, verbose=None):
#     def bug(self, msg, verbose=None):
#     def work(self, msg, verbose=None):
#     def input(self):
#     def newline(self,verbose=None):
#     def indent(self,verbose=None):
# 
# Path: alis/alfunc_base.py
# class Base :
#     def __init__(self, prgname="", getinst=False, atomic=None, verbose=2):
#     def call_CPU(self, x, p, ae='em', mkey=None, ncpus=1):
#         def model():
#     def call_GPU(self, x, p, ae='em'):
#     def adjust_fix(self, mp, cntr, jval, parj):
#     def adjust_lim(self, mp, cntr, jval, jind, parj):
#     def getminmax(self, par, fitrng, Nsig=5.0):
#     def load(self, instr, cntr, mp, specid):
#         def check_tied_param(ival, cntr, mps, iind):
#     def parin(self, i, par, parb):
#     def parout(self, params, mp, istart, level, errs=None, reletter=False, conv=None):
#     def set_pinfo(self, pinfo, level, mp, lnk, mnum):
#     def set_vars(self, p, level, mp, ival, wvrng=[0.0,0.0], spid='None', levid=None, nexbin=None, ddpid=None, getinfl=False):
#     def gtoef(self, num, fmt):
#     def tick_info(self, p, level, mp, ival, wvrng=[0.0,0.0], spid='None', levid=None):
# def call(prgname="",getfuncs=False,getinst=False,atomic=None,verbose=2):


# Path: alis/alfunc_lsf.py
import numpy as np
import astropy.units as u
from alis import almsgs
from alis import alfunc_base
    from linetools.spectra.lsf import LSF as ltLSF

msgs = almsgs.msgs()
try:
except ImportError:
    msgs.warn("linetools is not installed. Install it if you wish to use LSF")



class LSF(alfunc_base.Base) :