em_map_utils.demos.demo_filled_cylinder

demo_filled_cylinder.py

Author:

Ardan Patwardhan

Affiliation:

EMBL-EBI, Wellcome Genome Campus, CB10 1SD, UK

Date:

30/07/2025

Description:

Plot orthogonal surface views of a filled sphere.

Attributes

Functions

plot_filled_cylinder(diameter, length, box_size, ...)

Plot orthogonal projections of a filled cylinder.

Module Contents

em_map_utils.demos.demo_filled_cylinder.plot_filled_cylinder(diameter, length, box_size, cent_coos, alignment_axis, out_file)

Plot orthogonal projections of a filled cylinder.

Parameters:
  • diameter – Diameter of the filled cylinder.

  • length – Length of the filled cylinder.

  • box_size – Size of box representing 3D volume.

  • cent_coos – Centre coordinates of the filled cylinder.

  • alignment_axis – Alignment axis of the filled cylinder.

  • out_file – Optional output file name to save png figure.

Returns:

No return value.

em_map_utils.demos.demo_filled_cylinder.parser