.. This file content is autogenerated from ``xtrack.aperture.aperture.Aperture.__doc_groups__``.
Members - short description
--------------------------
.. raw:: html
.. _line-api-loading-and-serialization-summary:
.. list-table:: :ref:`Loading and Serialization `
:class: line-api-summary-table
:header-rows: 1
:width: 100%
:widths: 40 60
* - Member
- Description
* - :ref:`from_json(...) `
- Load an aperture from JSON and bind it to ``line``.
* - :ref:`from_line_with_associated_apertures(...) `
- Build an aperture from Xsuite elements that reference associated apertures.
* - :ref:`from_line_with_limits(...) `
- Build an aperture from limit elements installed in the line.
* - :ref:`from_line_with_madx_metadata(...) `
- Build an aperture from MAD-X layout metadata attached to a line.
* - :ref:`to_json(...) `
- Serialize the aperture model and halo parameters to JSON.
.. _line-api-aperture-computations-summary:
.. list-table:: :ref:`Aperture Computations `
:class: line-api-summary-table
:header-rows: 1
:width: 100%
:widths: 40 60
* - Member
- Description
* - :ref:`cross_sections_at_element(...) `
- Return aperture cross-sections sampled across an element.
* - :ref:`cross_sections_at_s(...) `
- Return aperture cross-sections at the requested `s` positions.
* - :ref:`get_aperture_sigmas_at_element(...) `
- Compute the maximum number of sigmas at which the beam fits in the aperture at element ``element_name``.
* - :ref:`get_aperture_sigmas_at_s(...) `
- Compute the maximum number of sigmas at which the beam fits in the aperture at the given ``s_positions``.
* - :ref:`get_aperture_sigmas_for_twiss(...) `
- Compute the maximum aperture sigmas from an already sampled Twiss table.
* - :ref:`get_envelope_at_element(...) `
- Compute beam-envelope polygons at the cuts of ``element_name`` for a fixed sigma value.
* - :ref:`get_envelope_at_s(...) `
- Compute beam-envelope polygons at the requested ``s_positions`` for a fixed sigma value.
* - :ref:`get_envelope_for_twiss(...) `
- Compute beam envelopes from an already sampled Twiss table.
* - :ref:`get_hvd_aperture_sigmas_at_element(...) `
- Compute horizontal, vertical and diagonal (45°) max aperture sigmas at element ``element_name``.
* - :ref:`get_hvd_aperture_sigmas_at_s(...) `
- Compute horizontal, vertical and diagonal (45°) max aperture sigmas at the given ``s_positions``.
* - :ref:`get_limit_elements(...) `
- Obtain interpolated cross-sections as limit beam elements.
* - :ref:`poses_at_s(...) `
- Return a local coordinate system (each represented by a homogeneous matrix) at all ``s_positions``.
.. _line-api-introspection-summary:
.. list-table:: :ref:`Introspection `
:class: line-api-summary-table
:header-rows: 1
:width: 100%
:widths: 40 60
* - Member
- Description
* - :ref:`get_bounds_table(...) `
- Return per-profile aperture-bound information as a table.
* - :ref:`get_pipe_table(...) `
- Return installed-pipe interval information as a table.
* - :ref:`s_around_transitions(...) `
- Return sampling positions around aperture-profile transitions.
* - :ref:`halo_params `
- Dictionary of halo parameters controlling beam-envelope and aperture-sigma computations.
* - :ref:`pipe_positions `
- Return the pipe-position collection view.
* - :ref:`pipes `
- Return the pipe collection view.
* - :ref:`profiles `
- Return the profile collection view.
.. _line-api-visualization-summary:
.. list-table:: :ref:`Visualization `
:class: line-api-summary-table
:header-rows: 1
:width: 100%
:widths: 40 60
* - Member
- Description
* - :ref:`plot_extents(...) `
- Plot beam-envelope and aperture extents along the beam line.
* - :ref:`plot_floor_projection(...) `
- Plot installed pipe segments projected onto the floor plane.
* - :ref:`plot_transverse(...) `
- Display transverse aperture cross-sections and beam envelopes.
Members - full description
--------------------------
.. _line-api-loading-and-serialization:
Loading and Serialization
~~~~~~~~~~~~~~~~~~~~~~~~~
Go to :ref:`Summary table `
.. _line-api-loading-and-serialization-methods:
.. _line-api-loading-and-serialization-method-from-json:
.. automethod:: xtrack.aperture.aperture.Aperture.from_json
.. _line-api-loading-and-serialization-method-from-line-with-associated-apertures:
.. automethod:: xtrack.aperture.aperture.Aperture.from_line_with_associated_apertures
.. _line-api-loading-and-serialization-method-from-line-with-limits:
.. automethod:: xtrack.aperture.aperture.Aperture.from_line_with_limits
.. _line-api-loading-and-serialization-method-from-line-with-madx-metadata:
.. automethod:: xtrack.aperture.aperture.Aperture.from_line_with_madx_metadata
.. _line-api-loading-and-serialization-method-to-json:
.. automethod:: xtrack.aperture.aperture.Aperture.to_json
.. _line-api-aperture-computations:
Aperture Computations
~~~~~~~~~~~~~~~~~~~~~
Go to :ref:`Summary table `
.. _line-api-aperture-computations-methods:
.. _line-api-aperture-computations-method-cross-sections-at-element:
.. automethod:: xtrack.aperture.aperture.Aperture.cross_sections_at_element
.. _line-api-aperture-computations-method-cross-sections-at-s:
.. automethod:: xtrack.aperture.aperture.Aperture.cross_sections_at_s
.. _line-api-aperture-computations-method-get-aperture-sigmas-at-element:
.. automethod:: xtrack.aperture.aperture.Aperture.get_aperture_sigmas_at_element
.. _line-api-aperture-computations-method-get-aperture-sigmas-at-s:
.. automethod:: xtrack.aperture.aperture.Aperture.get_aperture_sigmas_at_s
.. _line-api-aperture-computations-method-get-aperture-sigmas-for-twiss:
.. automethod:: xtrack.aperture.aperture.Aperture.get_aperture_sigmas_for_twiss
.. _line-api-aperture-computations-method-get-envelope-at-element:
.. automethod:: xtrack.aperture.aperture.Aperture.get_envelope_at_element
.. _line-api-aperture-computations-method-get-envelope-at-s:
.. automethod:: xtrack.aperture.aperture.Aperture.get_envelope_at_s
.. _line-api-aperture-computations-method-get-envelope-for-twiss:
.. automethod:: xtrack.aperture.aperture.Aperture.get_envelope_for_twiss
.. _line-api-aperture-computations-method-get-hvd-aperture-sigmas-at-element:
.. automethod:: xtrack.aperture.aperture.Aperture.get_hvd_aperture_sigmas_at_element
.. _line-api-aperture-computations-method-get-hvd-aperture-sigmas-at-s:
.. automethod:: xtrack.aperture.aperture.Aperture.get_hvd_aperture_sigmas_at_s
.. _line-api-aperture-computations-method-get-limit-elements:
.. automethod:: xtrack.aperture.aperture.Aperture.get_limit_elements
.. _line-api-aperture-computations-method-poses-at-s:
.. automethod:: xtrack.aperture.aperture.Aperture.poses_at_s
.. _line-api-introspection:
Introspection
~~~~~~~~~~~~~
Go to :ref:`Summary table `
.. _line-api-introspection-methods:
.. _line-api-introspection-method-get-bounds-table:
.. automethod:: xtrack.aperture.aperture.Aperture.get_bounds_table
.. _line-api-introspection-method-get-pipe-table:
.. automethod:: xtrack.aperture.aperture.Aperture.get_pipe_table
.. _line-api-introspection-method-s-around-transitions:
.. automethod:: xtrack.aperture.aperture.Aperture.s_around_transitions
.. _line-api-introspection-properties:
.. _line-api-introspection-property-halo-params:
.. autoproperty:: xtrack.aperture.aperture.Aperture.halo_params
.. _line-api-introspection-property-pipe-positions:
.. autoproperty:: xtrack.aperture.aperture.Aperture.pipe_positions
.. _line-api-introspection-property-pipes:
.. autoproperty:: xtrack.aperture.aperture.Aperture.pipes
.. _line-api-introspection-property-profiles:
.. autoproperty:: xtrack.aperture.aperture.Aperture.profiles
.. _line-api-visualization:
Visualization
~~~~~~~~~~~~~
Go to :ref:`Summary table `
.. _line-api-visualization-methods:
.. _line-api-visualization-method-plot-extents:
.. automethod:: xtrack.aperture.aperture.Aperture.plot_extents
.. _line-api-visualization-method-plot-floor-projection:
.. automethod:: xtrack.aperture.aperture.Aperture.plot_floor_projection
.. _line-api-visualization-method-plot-transverse:
.. automethod:: xtrack.aperture.aperture.Aperture.plot_transverse