hop.hexabundle_allocation.hector package

Subpackages

Submodules

hop.hexabundle_allocation.hector.constants module

hop.hexabundle_allocation.hector.plate module

class hop.hexabundle_allocation.hector.plate.HECTOR_plate[source]

Bases: circle

hop.hexabundle_allocation.hector.plate.plot_plate(HECTOR_plate)[source]

hop.hexabundle_allocation.hector.probe module

class hop.hexabundle_allocation.hector.probe.probe(probe_index, circular_magnet_center, rectangular_magnet_input_orientation, galaxyORstar, Re, mu_1re, Mstar, magnet_label, hexabundle, rads, rotation_pickup, rotation_putdown, azAngs, IDs, angs)[source]

Bases: object

calculate_circular_magnet_orientation()[source]
calculate_rectangular_magnet_center_coordinates()[source]
calculate_rectangular_magnet_orientation()[source]
calculate_rectangular_magnet_orientation_for_plots()[source]

The old calculation of the rectangular magnet orientation seems to work well with the labels on the plots and the correct ones below don’t. Probably a matplotlib rectangle orientation thing? I don’t get the difference as the old ones are always factors of 360 from the new ones… Until it’s debugged, just use the old values

extract_circular_magnet_parameters()[source]
extract_rectangular_magnet_parameters()[source]

Module contents