7c78219751969a19a7277d64d0ef8664dc7f3461,hyperspy/_signals/complex_signal.py,ComplexSignal_mixin,plot,#ComplexSignal_mixin#Any#Any#Any#Any#Any#Any#Any#,190
Before Change
else:
intensity_scale = "log" if power_spectrum else "linear"
if shifted is None:
if "shifted" in self._plot_kwargs.keys():
shifted = self._plot_kwargs["shifted"]
else:
shifted = True if power_spectrum else False
kwargs.update({"intensity_scale": intensity_scale,
"shifted": shifted,
"navigator": navigator,
"axes_manager": self.axes_manager})
After Change
intensity_scale = self._plot_kwargs["intensity_scale"]
else:
intensity_scale = "log" if power_spectrum else "linear"
metadata_shifted = self.metadata.get_item("Signal.FFT.shifted", False)
// Determine if we need to shift the data when plotting:
if shifted is metadata_shifted:
shift = False
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: hyperspy/hyperspy
Commit Name: 7c78219751969a19a7277d64d0ef8664dc7f3461
Time: 2018-07-12
Author: eric.prestat@gmail.com
File Name: hyperspy/_signals/complex_signal.py
Class Name: ComplexSignal_mixin
Method Name: plot
Project Name: hyperspy/hyperspy
Commit Name: 92d1d1ceebd71f6307f6e3afa3111c9cf00f0f64
Time: 2020-08-21
Author: tjof2@cam.ac.uk
File Name: hyperspy/_signals/eds.py
Class Name: EDS_mixin
Method Name: get_take_off_angle
Project Name: hyperspy/hyperspy
Commit Name: cfb16dc6d2529a8f1ad664968715c1b9756e7f25
Time: 2017-01-11
Author: vidartf@gmail.com
File Name: hyperspy/misc/date_time_tools.py
Class Name:
Method Name: get_date_time_from_metadata