kuadrat / arpys Goto Github PK
View Code? Open in Web Editor NEWARPES data analysis tools
License: GNU Lesser General Public License v3.0
ARPES data analysis tools
License: GNU Lesser General Public License v3.0
Hello,
I am new to arpes data processing. So I am trying to figure out how the arpys package works.
It seems to me that file paths in the plotting.py file are not correct as they point towards "/home/kevin/bin/kustom/cmaps/rainbow_light.dat" and so on.
Cheers
Aristide
The gamma slider does not move beyond half of the full range when moving by mouse wheel or arrow keys. It is, however, draggable across the full range. (Could call it a feature that allows easily recentering gamma to its initial value (1.0))
Changing the slider width of mw.integrated_plot
using the arrow keys or through a console command does sometimes not or incorrectly update the width visually.
In particular, the width increases normally up to a certain point, after which nothing happens anymore. When the slider is dragged or moved the width immediately updates, however. Decreasing the width again seems to work fine.
Some inspection indicates that this is a pyqtgraph issue, not a pyqt or arpys .
pen_width.py.txt
pen_width_pyqtgraph.py.txt
After commit 929278b which fixed the cutline reinitialization on z-change (which was due to z-change->replot of main plot->_set_axes_scale()->emits sig_axes_changed->initializes cutline and was changed by making _set_axes_scale() not emit under all circumstances), plots seem to sometimes have the wrong axes scaling after pit.roll_axes()
. However, this behaviour could not be reproduced after the initial observations.
dataloaders.Dataloader_ALS
outputs an argparse.Namespace
where energies are in yscale
and angles in xscale
and therefore the data itself is transposed from the expectations of postprocessing
routines such as postprocessing.fit_gold
(Observed on a Gold file measured in 2018 by Simon Moser).
Output data structure should be unified across all dataloaders.
Hi me again
Everything is in the title
Aristide
Reproducible with ALS doping data (for example file 20180317_00050.fits
from Simon Moser)
Hi again
I think that the package cmd2 should also be required during installation.
Aristide
Using pit.set_alpha()
from the embedded console only switches the alpha in pit.lut
between two possible values (128 or no alpha). At the same time, after issuing the command the main plot is rescaled and the z scalebar does not react to upwards scrolling anymore.
Currently, just matplotlib cmaps are available even though data_slicer provides functionality for user-supplied cmaps.
Implement a way to quickly inspect just the metadata of a file without having to load the whole dataset (which can be time consuming).
I have an ARPES-data of Antares where is a radiational synchrotron in France, as Nexus format.
I tried to load the Antares data with "dataloaders.py" of arpys as the following :
from arpys import dl, pp
D = dl.load_data('CMA_2018-03-31_13-33-07.nxs')
However, I got the following error :
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
Exception <class 'KeyError'>: 'Unable to open object (component not found)'
Exception <class 'KeyError'>: "Unable to open object (object 'Matrix' doesn't exist)"
Exception <class 'KeyError'>: 'Unable to open object (component not found)'
Exception <class 'UnicodeDecodeError'>: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
Exception <class 'KeyError'>: "Unable to open object (object '2D_Data' doesn't exist)"
<class Dataloader_ALS .fits>
Exception <class 'OSError'>: Header missing END card.
Exception <class '_pickle.UnpicklingError'>: invalid load key, 'H'.
Traceback (most recent call last):
File "load_1.py", line 2, in
D = dl.load_data('CMA_2018-03-31_13-33-07.nxs')
File "/usr/local/lib/python3.7/site-packages/arpys/dataloaders.py", line 1134, in load_data
raise Exception('Could not load data {}.'.format(filename))
Exception: Could not load data CMA_2018-03-31_13-33-07.nxs.
I could load other radiational synchrotron data such as SIS and ADRESS with "dataloaders.py" as above.
Just in case of Antares, it doesn't work.
I guess that the file format is inappropriate for "dataloaders.py".
Is it possible to read the data somehow?
Thank you in advance.
Tappeo
Should be replaced with astropy.io.pyfits
For all other loaders, progress on this depends on #21.
Title says it. z slider behaves normally after a third roll_axes()
The line 1115 line.raw = line.raw.lower() generates an exception: "EXCEPTION of type 'FrozenInstanceError' occurred with message: '' I had to comment it
Lines 158 160 colorize() seems to be deprecated. I had to remove colorize
and last I got a warning with pyfit
"PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits"
Cheers
Aristide
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.