5a53a04c70e773fa6728978696ec4a9ccd49d4f4,hyperspy/_signals/eels.py,EELSSpectrum,estimate_elastic_scattering_intensity,#EELSSpectrum#Any#Any#,301
Before Change
else:
I0 = self._get_navigation_signal()
I0.axes_manager.set_signal_dimension(0)
for i, s in progressbar(enumerate(self) ,
total=self.axes_manager.navigation_size,
disable=not show_progressbar,
leave=True):
After Change
else:
I0 = self._get_navigation_signal()
I0.axes_manager.set_signal_dimension(0)
with progressbar(total=self.axes_manager.navigation_size,
disable=not show_progressbar,
leave=True) as pbar:
for i, (i0, th, s) in enumerate(zip(I0._iterate_signal(),
threshold._iterate_signal(),
self)):
if np.isnan(th[0]):
i0[:] = np.nan
else:
i0[:] = s.isig[:th[0]].integrate1D(-1).data
pbar.update(1)
I0.metadata.General.title = (
self.metadata.General.title + " elastic intensity")
I0.set_signal_type("")
if self.tmp_parameters.has_item("filename"):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: hyperspy/hyperspy
Commit Name: 5a53a04c70e773fa6728978696ec4a9ccd49d4f4
Time: 2016-08-02
Author: frandelapena@gmail.com
File Name: hyperspy/_signals/eels.py
Class Name: EELSSpectrum
Method Name: estimate_elastic_scattering_intensity
Project Name: milesial/Pytorch-UNet
Commit Name: 79928c84cdf990ef6fe1043a3e4f74b9cc252642
Time: 2019-11-23
Author: milesial@users.noreply.github.com
File Name: eval.py
Class Name:
Method Name: eval_net
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7e3657194677a01abdfb97527ecaec2d141c7540
Time: 2019-11-11
Author: irinutza.n@gmail.com
File Name: art/detection/subsetscanning/detector.py
Class Name: SubsetScanningDetector
Method Name: scan