Skip to content

Commit

Permalink
Documentation: Fixed Broken documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CSSFrancis committed Apr 17, 2024
1 parent 3567308 commit 66f0133
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diffsims/generators/simulation_generator.py
Expand Up @@ -16,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with diffsims. If not, see <http://www.gnu.org/licenses/>.

"""Kinematic Diffraction Simulation Generator."""

from typing import Union, Sequence
import numpy as np

Expand Down Expand Up @@ -51,6 +53,8 @@

from diffsims.simulations import Simulation1D, Simulation2D

__all__ = ["SimulationGenerator"]


class SimulationGenerator:
"""
Expand Down
2 changes: 2 additions & 0 deletions diffsims/simulations/__init__.py
Expand Up @@ -16,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with diffsims. If not, see <http://www.gnu.org/licenses/>.

"""Kinematic Diffraction Simulation Results."""

from diffsims.simulations.simulation2d import Simulation2D
from diffsims.simulations.simulation1d import Simulation1D

Expand Down
5 changes: 5 additions & 0 deletions diffsims/simulations/simulation2d.py
Expand Up @@ -33,6 +33,11 @@
if TYPE_CHECKING: # pragma: no cover
from diffsims.generators.simulation_generator import SimulationGenerator

__all__ = [
"Simulation2D",
"get_closest",
]


class PhaseGetter:
"""A class for getting the phases of a simulation library.
Expand Down
1 change: 1 addition & 0 deletions doc/reference/index.rst
Expand Up @@ -29,5 +29,6 @@ the `demos <https://github.com/pyxem/diffsims-demos>`_.
libraries
pattern
sims
simulations
structure_factor
utils

0 comments on commit 66f0133

Please sign in to comment.