-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rename averaged -> average (#123)
* chore: rename averaged -> average * chore: add setuptools to requirements.txt * chore: update requirements.txt and revert addition of setuptools
- Loading branch information
Showing
7 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sional_plot/averaged_potential_profile.py → ...nsional_plot/average_potential_profile.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
from express.properties.non_scalar.two_dimensional_plot import TwoDimensionalPlotProperty | ||
|
||
|
||
class AveragedPotentialProfile(TwoDimensionalPlotProperty): | ||
class AveragePotentialProfile(TwoDimensionalPlotProperty): | ||
""" | ||
Averaged potential profile plot. | ||
Average potential profile plot. | ||
""" | ||
|
||
def __init__(self, name: str, parser, *args, **kwargs): | ||
super().__init__(name, parser, *args, **kwargs) | ||
|
||
self.data = self.safely_invoke_parser_method("averaged_potential") | ||
self.data = self.safely_invoke_parser_method("average_potential") | ||
self.xDataArray = self.data["x"].tolist() | ||
self.yDataSeries = [self.data["planar_average"].tolist(), self.data["macroscopic_average"].tolist()] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters