Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Interference data in optica
Replies: 2   Last Post: May 18, 2010 2:00 AM

 Messages: [ Previous | Next ]
 Maarten van der Burgt Posts: 10 Registered: 5/7/10
Re: Interference data in optica
Posted: May 18, 2010 2:00 AM

Alicia,

InterferenceFunction/.interference

results in a compiled function, which you can use like any numerical
function.

You can give it a name:

ifunc == Evaluate[(InterferenceFunction /. interference)]
CompiledFunction[-intensity data-]"

and simply give it a numerical argument

ifunc[0, 0]
0.266372

or generate a list of data

ifdat == Table[{x, ifunc[x, 0]}, {x, -16, 10, 0.1}];

which you can plot

ListLinePlot[ifdat]

Hope this helps,

maarten

-----Original Message-----
From: Alicia Cavan [mailto:alicia.cavan@pg.canterbury.ac.nz]
Sent: Monday, 17 May, 2010 13:12
Subject: Re: Interference data in optica

The method I am using is straight out of the Help browser for optica
(graphical tour section), I am using a more complicated interferometer
set up, but I have just shown the basic Michelson one from the help
interference would be the same:

system ==== {Move[GaussianBeam[1.5,.01,FullForm->True],-50],

PlanoConcaveLens[-30,20,2,"L1",CurvatureDirection->Back],

Move[PlanoConvexLens[160,30,6.5,"L2"],130],

Move[BeamSplitter[{70,30},50,10],175,-45],

Move[Mirror[50,10],250],

Move[Mirror[50,10],{175,50},90.01],

Move[BeamSplitter[{70,30},50,10,""],175,-45,GraphicDesign->Off],

Move[Screen[50],{175,-50},90]};

AnalyzeSystem[system];

interference ==== FindInterference[system];

Plot3D[Evaluate[(InterferenceFunction/.interference)][x,y],{x,-13.5,6.7}
,{y,-10.,10.},PlotPoints->100,Mesh->False]

Thanks!
Alicia

________________________________
From: chris [mailto:aarthur@tx.rr.com]
Sent: Sat 15/05/2010 2:27 a.m.
To: Alicia Cavan
Subject: Re: Interference data in optica

Show us some code. Probably the compiled function has a bad argument or
syntax

Alicia Cavan a ==E9crit :
> Hello,
>
> I am using the FindInterference function in Optica (version 3) and I

am
> able to get a nice plot of the interference function, but when I try
and
> obtain any data from this function- so I can get accurate values for
the
> intensities and fringe spacings (rather than just reading it off a
plot)
> I can't do this. It just comes up with a little message saying
> -compiled function- for everything I try. I am sure there is a simple
> command to use, but I don't know what it is.
>
> Any suggestions?
>
> Thankyou so much,
> Alicia Cavan

This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

Date Subject Author
5/11/10 Alicia Cavan
5/17/10 Alicia Cavan
5/18/10 Maarten van der Burgt