astrohack.antenna.ring_panel

Classes

RingPanel

Module Contents

class RingPanel(model, angle, ipanel, label, inrad, ourad, margin=0.2, screw_scheme=None, screw_offset=None, plot_screw_size=0.2)[source]

Bases: astrohack.antenna.base_panel.BasePanel

inrad[source]
ourad[source]
theta1[source]
theta2[source]
margin_theta1[source]
margin_theta2[source]
margin_inrad[source]
margin_ourad[source]
first[source]
center[source]
is_inside(rad, phi)[source]

Check if a point is inside a panel using polar coordinates :param rad: radius of the point :param phi: angle of the point in polar coordinates

Returns:

True if point is inside the fitting part of the panel inpanel: True if point is inside the panel

Return type:

issample

print_misc()[source]

Print miscelaneous information about the panel to the terminal

plot(ax, screws=False, label=False, _=False, samples=False)[source]

Plot panel outline to ax :param ax: matplotlib axes instance :param screws: Display screws in plot :param label: Add panel labels to plot :param _: does nothing (interface compatibility) :param samples: plot samples and margins