Skip to content

About loading a data file #2

Description

@ArunavaKar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions