Skip to content
Snippets Groups Projects
Commit f960e527 authored by Charlotte Bond's avatar Charlotte Bond
Browse files

correcting header

parent c80f7d88
No related branches found
No related tags found
No related merge requests found
%-------------------------------------------------------------------------- %--------------------------------------------------------------------------
% function [Lrt] = FT_FP_cavity_power(Pin,Lrt,lambda,L,T1,R1,R2) % function [Ploss,P0] = FT_FP_cavity_power(Pin,Lrt,lambda,L,T1,R1,R2)
% %
% A function for Matlab which calculates the power circulating in a lossy % A function for Matlab which calculates the power circulating in a lossy
% Fabry-Perot cavity. N.B. the circulating power is calculated just after % Fabry-Perot cavity. N.B. the circulating power is calculated just after
...@@ -32,7 +32,7 @@ function [Ploss,P0] = FT_FP_cavity_power(Pin,Lrt,lambda,L,T1,R1,R2) ...@@ -32,7 +32,7 @@ function [Ploss,P0] = FT_FP_cavity_power(Pin,Lrt,lambda,L,T1,R1,R2)
P0 = Pin * T1/(1+R1*R2-2*r1*r2); P0 = Pin * T1/(1+R1*R2-2*r1*r2);
% Calculate power in lossy cavity % Calculate power in lossy cavity
Ploss = P0/(1+Lrt/T1)^2; Ploss = P0./(1+Lrt/T1).^2;
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment