lshzh-ww / RmMesh

Python scripts for removing mesh patterns in ARPES images
7 stars 3 forks source link

About loading a data file #2

Open ArunavaKar opened 9 months ago

ArunavaKar commented 9 months ago

Hi,

I am Arunava. I was trying to use this code to eliminate a mesh of a single VB scan. I used the data from APE (Elettra, Italy) in SES software, .itx file, and .nxs files but no data are getting loaded.

It is showing the error like this:

AttributeError Traceback (most recent call last) File ~\OneDrive\Desktop\RmMesh-main\RmMesh-main\RmMeshGUI.py:176, in MyWindow.loadFileDiag(self) 174 dataShape=np.shape(self.rawData) 175 print(dataShape) --> 176 self.displayData=self.rawData.copy() 177 self.leftGraphWidget.setImage(self.displayData) 178 self.fftData=CompFunc.fft.dataToFft(self.displayData)

AttributeError: 'NoneType' object has no attribute 'copy'

..................................................................................... can you please help me to solve the issue?

Thanks and best regards, Arunava