Skip to content

Commit

Permalink
Merge pull request #668 from pfebrer/matrix_plot
Browse files Browse the repository at this point in the history
enh: Added a matrix plot
  • Loading branch information
zerothi authored Feb 20, 2024
2 parents fdface3 + 80eece0 commit 4099463
Show file tree
Hide file tree
Showing 17 changed files with 1,628 additions and 35 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ we hit release version 1.0.0.
as well as `sisl.geom.cgnr`)
- Creation of [n]-triangulenes (`sisl.geom.triangulene`)
- added `offset` argument in `Geometry.add_vacuum` to enable shifting atomic coordinates
- A new `AtomicMatrixPlot` to plot sparse matrices, #668

### Fixed
- `SparseCSR` ufunc handling, in some corner cases could the dtype casting do things
Expand All @@ -40,7 +41,7 @@ we hit release version 1.0.0.
- `Lattice` objects now issues a warning when created with 0-length vectors
- HSX file reads should respect input geometry arguments
- enabled slicing in matrix assignments, #650
- changed `Shape.volume()` to `Shape.volume`
- changed `Shape.volume()` to `Shape.volume`
- growth direction for zigzag heteroribbons
- `BandStructure` points can now automatically add the `nsc == 1` axis as would
be done for assigning matrix elements (it fills with 0's).
Expand Down
3 changes: 2 additions & 1 deletion docs/visualization/viz_module/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ with your results can be as fast as possible.
The plots that you can generate with it are **not bound to a specific visualization framework**. Instead, the users
can choose the one that they want based on their taste or on what is available in their environment. Currently,
there is support for visualizing the plots with `plotly`_, `matplotlib`_, `blender <https://www.blender.org/>`_. The flexibility of the framework
allows for the user to **extend the visualizing options** quite simply without modifying ``sisl``'s internal code.
allows for the user to **extend the visualizing options** quite simply without modifying ``sisl``'s internal code.

The framework started as a GUI, but then evolved to make it usable by ``sisl`` users directly. Therefore,
it can serve as a very robust (highly tested) and featureful **backend to integrate visualizations into graphical interfaces**.
Expand Down Expand Up @@ -37,6 +37,7 @@ The following notebooks will help you develop a deeper understanding of what eac
showcase/GeometryPlot.ipynb
showcase/SitesPlot.ipynb
showcase/GridPlot.ipynb
showcase/AtomicMatrixPlot.ipynb
showcase/BandsPlot.ipynb
showcase/FatbandsPlot.ipynb
showcase/PdosPlot.ipynb
Expand Down
Loading

0 comments on commit 4099463

Please sign in to comment.