Amplification

Function to plot the amplification factor

peristole.amp.amp_plot(pulsar, flag=0)

Amplification factor plot

Provides amplification factor for the dominant and subdominant images plotted as a function of longitude. Needs mass, axis, ecc, angle, omega to be already declared.

Parameters
  • pulsar – An object of the pulsar class

  • flag – An optional argument which if set to 1 gives the plot for the subdominant case

Returns

The amplification factor plot

Example call of the function:

example = pulsar() … amp_plot(example, 1)