def plot_calibrated_diode(dio_cross,chan_per_coarse=<NUM_LIT:8>,feedtype='<STR_LIT:l>',**kwargs):
<EOL>obs = Waterfall(dio_cross,max_load=<NUM_LIT>)<EOL>freqs = obs.populate_freqs()<EOL>tsamp = obs.header['<STR_LIT>']<EOL>data = obs.data<EOL>obs = None<EOL>I,Q,U,V = get_stokes(data,feedtype)<EOL>data = None<EOL>psis = phase_offsets(I,Q,U,V,tsamp,chan_per_coarse,feedtype,**kwargs)<EOL>G = gain_offsets(I,Q,U,V,tsamp,chan_per_coarse,feedtype,**kwargs)<EOL>I,Q,U,V = apply_Mueller(I,Q,U,V,G,psis,chan_per_coarse,feedtype)<EOL>I_OFF,I_ON = foldcal(I,tsamp,**kwargs)<EOL>Q_OFF,Q_ON = foldcal(Q,tsamp,**kwargs)<EOL>U_OFF,U_ON = foldcal(U,tsamp,**kwargs)<EOL>V_OFF,V_ON = foldcal(V,tsamp,**kwargs)<EOL>I = None<EOL>Q = None<EOL>U = None<EOL>V = None<EOL>plt.plot(freqs,I_ON-I_OFF,'<STR_LIT>',label='<STR_LIT:I>')<EOL>plt.plot(freqs,Q_ON-Q_OFF,'<STR_LIT>',label='<STR_LIT>')<EOL>plt.plot(freqs,U_ON-U_OFF,'<STR_LIT>',label='<STR_LIT>')<EOL>plt.plot(freqs,V_ON-V_OFF,'<STR_LIT>',label='<STR_LIT>')<EOL>plt.legend()<EOL>plt.xlabel('<STR_LIT>')<EOL>plt.title('<STR_LIT>')<EOL>plt.ylabel('<STR_LIT>')<EOL>
Plots the corrected noise diode spectrum for a given noise diode measurement
after application of the inverse Mueller matrix for the electronics chain.