# -*- coding: utf-8 -*-
#
# <NAME> <<EMAIL>>
# parasim
# (c) 1998-2019 all rights reserved
#


# framework
import ampcor
# protocols
from .Raster import Raster as raster


# data product factories
def newOffsetMap(**kwds):
    """
    Create a new offset map
    """
    # get the factory
    from .OffsetMap import OffsetMap
    # instantiate and return it
    return OffsetMap(**kwds)


def newSLC(**kwds):
    """
    Create an SLC raster object in its default configuration
    """
    # get the component
    from .SLC import SLC
    # instantiate and return it
    return SLC(**kwds)


# data product foundries; these get used by the framework during component binding
@ampcor.foundry(implements=raster, tip="an SLC raster image")
def slc():
    # get the component
    from .SLC import SLC
    # borrow its docstring
    __doc__ = SLC.__doc__
    # and publish it
    return SLC


# end of file

# -*- coding: utf-8 -*-
#
# <NAME> <<EMAIL>>
# parasim
# (c) 1998-2019 all rights reserved
#


# framework
import ampcor
# protocols
from .Raster import Raster as raster


# data product factories
def newOffsetMap(**kwds):
    """
    Create a new offset map
    """
    # get the factory
    from .OffsetMap import OffsetMap
    # instantiate and return it
    return OffsetMap(**kwds)


def newSLC(**kwds):
    """
    Create an SLC raster object in its default configuration
    """
    # get the component
    from .SLC import SLC
    # instantiate and return it
    return SLC(**kwds)


# data product foundries; these get used by the framework during component binding
@ampcor.foundry(implements=raster, tip="an SLC raster image")
def slc():
    # get the component
    from .SLC import SLC
    # borrow its docstring
    __doc__ = SLC.__doc__
    # and publish it
    return SLC


# end of file

# -*- coding: utf-8 -*- # # <NAME> <<EMAIL>> # parasim # (c) 1998-2019 all rights reserved # # framework # protocols # data product factories Create a new offset map # get the factory # instantiate and return it Create an SLC raster object in its default configuration # get the component # instantiate and return it # data product foundries; these get used by the framework during component binding # get the component # borrow its docstring # and publish it # end of file