Skip to content

Commit

Permalink
Marcosertoli/st40 cleanup (#296)
Browse files Browse the repository at this point in the history
* Added development directory to hold files still under development but potentially useful to the user group.

* Modified tomo_1D.py to be aesthetically more in line with the rest of the plotting.

* Deleted unused plotting methods

* Clean-up of st40 branch approaching move to indica-mcf organisation

* Renamed test for abstract reader

* Deleting all unused stuff in st40 branch

* Wrapper to build centrifugal asymmetry parameters and profiles in Indica native DataArray format

* Slow but working version of inversion including asymmetry

* Making tangential as default bolometer geometry. TODO: make general geometry sets to be used across models.

* Modified centrifugal_asymmetry.py to accept profiles without t dimension

* Residuals must be residuals, with a sign

* Removed tomo_asymmetry.py to be pushed to a separate branch

* Moved surf_los.dat in data folder and ran pre-commit

* Changed name of spline_fit_easy.py to simply spline_fit.py

* Reinstated asymmetry tomography because of dependencies.

* Reinstated asymmetry tomography because of dependencies and cleaned up implementation.

* Minor correction to plotting.

---------

Co-authored-by: Marco Sertoli <[email protected]>
  • Loading branch information
marcosertoli and marcosertoli authored Nov 15, 2023
1 parent b7b7364 commit 6dcbb80
Show file tree
Hide file tree
Showing 34 changed files with 755 additions and 5,045 deletions.
6 changes: 0 additions & 6 deletions indica/converters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

from .abstractconverter import CoordinateTransform
from .abstractconverter import EquilibriumException
from .flux_major_radius import FluxMajorRadCoordinates
from .flux_surfaces import FluxSurfaceCoordinates
from .impact_parameter import ImpactParameterCoordinates
from .line_of_sight import LineOfSightTransform
from .lines_of_sight import LinesOfSightTransform
from .time import bin_to_time_labels
Expand All @@ -16,9 +13,6 @@
__all__ = [
"CoordinateTransform",
"EquilibriumException",
"FluxMajorRadCoordinates",
"FluxSurfaceCoordinates",
"ImpactParameterCoordinates",
"LinesOfSightTransform",
"LineOfSightTransform",
"TransectCoordinates",
Expand Down
2 changes: 2 additions & 0 deletions indica/converters/abstractconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ def plot(
plt.title(title)
save_figure(fig_path, f"{fig_name}{self.name}_rho", save_fig=save_fig)

return cols


def plot_geometry(
abscissa: DataArray,
Expand Down
161 changes: 0 additions & 161 deletions indica/converters/flux_major_radius.py

This file was deleted.

86 changes: 0 additions & 86 deletions indica/converters/flux_surfaces.py

This file was deleted.

Loading

0 comments on commit 6dcbb80

Please sign in to comment.