Skip to content

Commit

Permalink
🚨 Just ignore (Might be reverted in the future)
Browse files Browse the repository at this point in the history
  • Loading branch information
arafune committed Apr 12, 2024
1 parent b91e715 commit e55d386
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/arpes/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
BARE_ELECTRON_MASS = 9.109383701e-31 # kg
HBAR_SQ_EV_PER_ELECTRON_MASS = 0.475600805657 # hbar^2 / m0 in eV^2 s^2 / kg
HBAR_SQ_EV_PER_ELECTRON_MASS_ANGSTROM_SQ = 7.619964 # (hbar^2) / (m0 * angstrom ^2) in eV
ELECTRON_CHARGE = 1.60217663e-19

K_BOLTZMANN_EV_KELVIN = 8.617333262145178e-5 # in units of eV / Kelvin
K_BOLTZMANN_MEV_KELVIN = 1000 * K_BOLTZMANN_EV_KELVIN # meV / Kelvin
Expand Down
2 changes: 1 addition & 1 deletion src/arpes/plotting/fit_tool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def generate_fit_marginal_for( # noqa: PLR0913
layout.addWidget(widget, column, row)
return widget

def update_cursor_position(
def update_cursor_position( # noqa: PLR0912, C901 # Might be removed in the future.
self,
new_cursor: list[float],
*,
Expand Down
2 changes: 1 addition & 1 deletion src/arpes/plotting/qt_tool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def configure_image_widgets(self) -> None:
self.generate_marginal_for((0, 2), 1, 1, "yz", layout=self.content_layout)
self.generate_marginal_for((0, 1), 0, 1, "zw", cursors=True, layout=self.content_layout)

def update_cursor_position(
def update_cursor_position( # noqa: C901, PLR0912 # Might be removed in the future.
self,
new_cursor: list[float],
*,
Expand Down
2 changes: 1 addition & 1 deletion src/arpes/plotting/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@


@save_plot_provenance
def plot_spatial_reference( # noqa: PLR0913
def plot_spatial_reference( # noqa: PLR0913, C901, PLR0912, PLR0915 # Might be removed in the future.
reference_map: xr.DataArray,
data_list: list[DataType],
offset_list: list[dict[str, Any] | None] | None = None,
Expand Down
4 changes: 2 additions & 2 deletions src/arpes/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def _compute_parameters(


@popout
def pca_explorer(
def pca_explorer( # noqa: C901, PLR0915 # Might be removed in the future.
pca: xr.DataArray,
data: xr.DataArray,
component_dim: str = "components",
Expand Down Expand Up @@ -761,7 +761,7 @@ def on_select_summed(region: Incomplete) -> None:


@popout
def kspace_tool(
def kspace_tool( # noqa: PLR0915, C901 # Might be removed in the future.
data: xr.DataArray,
overplot_bz: Callable[[Axes], None] | list[Callable[[Axes], None]] | None = None,
bounds: dict[MOMENTUM, tuple[float, float]] | None = None,
Expand Down

0 comments on commit e55d386

Please sign in to comment.