lshzh-ww / rmmesh Goto Github PK
View Code? Open in Web Editor NEWPython scripts for removing mesh patterns in ARPES images
Python scripts for removing mesh patterns in ARPES images
Hi,
I would like to use this code for eliminating a mesh I got in some data from APE (Elettra, Italy). Once I load the data, when I press the "Remove Mesh" button in the GUI, I get several mistakes related to the shapes of the arrays. I think I can correct them, but for it I would like to know why we have to define a
self.avgRawData=np.zeros((1,np.shape(self.rawData[0])[0],np.shape(self.rawData[0])[1]))
and for what should be the dimension of this new array. Thanks :)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.