How to use the fabio.fabioimage.FabioImage.__init__ function in fabio

To help you get started, we’ve selected a few fabio examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github silx-kit / fabio / fabio / brukerimage.py View on Github external
def __init__(self, data=None, header=None):
        FabioImage.__init__(self, data, header)
        self.__bpp_file = None
        self.__headerstring__ = ""
github silx-kit / fabio / fabio / cbfimage.py View on Github external
def __init__(self, data=None, header=None, fname=None):
        """
        Constructor of the class CIF Binary File reader.

        :param str fname: the name of the file to open
        """
        FabioImage.__init__(self, data, header)
        self.cif = CIF()
        self.cbs = None
        self.start_binary = None
        if fname is not None:  # load the file)
            self.read(fname)
github silx-kit / fabio / fabio / fit2dimage.py View on Github external
def __init__(self, *arg, **kwargs):
        """
        Generic constructor
        """
        FabioImage.__init__(self, *arg, **kwargs)
        self.num_block = None
github stefsmeets / instamatic / instamatic / cred / adscimage.py View on Github external
def __init__(self, *args, **kwargs):
        FabioImage.__init__(self, *args, **kwargs)
github silx-kit / fabio / fabio / esperantoimage.py View on Github external
def __init__(self, *arg, **kwargs):
        """
        Generic constructor
        """
        FabioImage.__init__(self, *arg, **kwargs)
        self.format = ""
github silx-kit / fabio / fabio / raxisimage.py View on Github external
def __init__(self, *arg, **kwargs):
        """
        Generic constructor
        """
        FabioImage.__init__(self, *arg, **kwargs)
        self._dtype = numpy.dtype('uint16')  # same for all RAXIS images AFAICT
        self.endianness = '>'  # this may be tested for.
github silx-kit / fabio / fabio / xsdimage.py View on Github external
def __init__(self, data=None, header=None, fname=None):
        """
        Constructor of the class XSDataImage.

        :param str fname: the name of the file to open
        """
        FabioImage.__init__(self, data=data, header=header)
        self._shape = []
        self.size = None
        self.coding = None
        self._dtype = None
        self.rawData = None
        self.md5 = None
        if fname is not None:
            self.filename = fname
            self.read(fname)
github silx-kit / fabio / fabio / templateimage.py View on Github external
def __init__(self, *arg, **kwargs):
        """
        Generic constructor
        """
        FabioImage.__init__(self, *arg, **kwargs)