chstan / arpes

Mirror of PyARPES (gitlab/lanzara-group/python-arpes) the open source ARPES analysis framework
https://arpes.readthedocs.io
Other
37 stars 27 forks source link

function not responding for smoothing #2

Closed PYmeas closed 3 years ago

PYmeas commented 3 years ago

i am having a hard time with the smoothing function i get the following error, i did import the arpres.analysis package : gaussian_filter_arr(data_mean, sigma={'phi':0.04}).S.plot()

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-14-aab952d9ca1c> in <module>
     38 # data.S.fermi_surface.show()
     39 # spect.transpose('kp','eV').arpes.plotting.dispersion.cut_dispersion_plot()
---> 40 gaussian_filter_arr(data_mean, sigma={'phi':0.04}).S.plot()

NameError: name 'gaussian_filter_arr' is not defined

thank you for your help

chstan commented 3 years ago

Hi @PYmeas, from a quick search it looks like that function is actually defined in arpes.analysis.filters. I'll make a note to lift its export to arpes.analysis since I refer to it there in the docs.