Exemplo n.º 1
0
    def __init__(self, fname):
        super(SeismicWriter, self).__init__(fname)

        self.dtype = "float"
        self.dsize = mysize(self.dtype)
        self.endian = "<"
        self.offset = 0
Exemplo n.º 2
0
    def __init__(self, fname):
        super(SeismicWriter, self).__init__(fname)

        self.dtype = 'float'
        self.dsize = mysize(self.dtype)
        self.endian = '<'
        self.offset = 0
Exemplo n.º 3
0
    def __init__(self, fname, endian=None):
        SeismicReader.__init__(self, fname, endian)

        self.dtype = 'float'
        self.dsize = mysize(self.dtype)
        self.offset = 0

        # check byte order
        if endian:
            self.endian = endian
        else:
            raise ValueError("SU Reader should specify the endianness")
Exemplo n.º 4
0
    def __init__(self, fname, endian=None):
        SeismicReader.__init__(self, fname, endian)

        self.dtype = 'float'
        self.dsize = mysize(self.dtype)
        self.offset = 0

        # check byte order
        if endian:
            self.endian = endian
        else:
            raise ValueError("SU Reader should specify the endianness")