def readHeader(self,): if not self.parameters: Raxis.readHeader(self) self.np = int(round(self.head['sizeSlow']/self.head['sizeFast']*self.head['nFast'])) # assume that the slow dimension has longer pixels, as for the Raxis-II assert self.head['sizeSlow'] > self.head['sizeFast'] # assume that the original pixel array is square assert self.head['nFast'] == self.head['nSlow'] # assume that the extra pixels can be evenly divided by two assert (self.np-self.head['nSlow'])%2==0 self.extra = (self.np-self.head['nSlow'])//2 self.generic_param_from_vendor_head() self.generic_param_from_adapt_head()
def readHeader(self, ): if not self.parameters: Raxis.readHeader(self) self.generic_param_from_vendor_head()
def readHeader(self,): if not self.parameters: Raxis.readHeader(self) self.generic_param_from_vendor_head()