Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/a/s/Astropysics-0.1.dev-r1178/astropysics/spec.py   Astropysics(Download)
        * None/False/'': Do nothing
        """
        from .models import ParametricModel,LinearModel,get_model_instance
        from .utils import centroid
 
 
        if isinstance(cont,tuple) and len(cont)==2:
            linmod = LinearModel()
            linmod.fitData((x1,x2),cont)
            cont = linmod

src/a/s/astropysics-HEAD/astropysics/spec.py   astropysics(Download)
        * None/False/'': Do nothing
        """
        from .models import ParametricModel,LinearModel,get_model_instance
        from .utils import centroid
 
 
        if isinstance(cont,tuple) and len(cont)==2:
            linmod = LinearModel()
            linmod.fitData((x1,x2),cont)
            cont = linmod