make_sketch

screens.visualization.make_sketch(theta, beta=0.5, screen_y_scale=10000000.0, mu_eff=<Quantity 50. mas / yr>, tels=slice(0, 1, None), scatters=slice(0, None, None), earth=True, pulsar=True, screens=True, direct=None, velocity=None, scales=False, distances=False, rotation=<Quantity 0. deg>, ax=None)[source] [edit on github]

Draw a schematic of the thin-screen model of for scintillation.

Parameters:
thetaQuantity

Angles of the scattering images from the core image.

betafloat, optional

Fractional distance of scattering screen, measured from the pulsar to Earch, 1 - d_lens / d_psr. Default: 0.5

screen_y_scalefloat, optional

Vertical magnification factor of scattering screen. Default: 1.e7

mu_effQuantity, optional

Proper motion used for direction and scaling of arrow that indicates the pulsar’s motion. Default: 50. mas/yr

telsslice, optional

Slice object to select which telescopes to draw and use.

scattersslice, optinal

Slice object to select which scattering points to draw and use.

earthbool, optional

Whether or not to draw Earth and telescopes.

pulsarbool, optional

Whether or not to draw the pulsar.

screensbool, optional

Whether or not to draw the scintillation screen.

directbool, optional

Whether or not to draw direct line-or-sight beam. Default: infer from whether theta includes 0.

velocitybool, optional

Whether or not to include an arrow to indicate the pulsar’s motion. Default: infer from mu_eff

scalesbool, optional

Whether or not to include scale bars indicating physical sizes.

distancesbool, optional

Whether or not to include scale bars indicating distances and s.

rotationQuantity, optional

Angle to rotate entire sketch. Default: 0. deg

axAxes, optional

The Axes object in which to draw the sketch.