12.07.2015 Views

Click to edit Master title style - Zemax

Click to edit Master title style - Zemax

Click to edit Master title style - Zemax

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Second Example - Data Extraction• What if we move the source around inside thedetec<strong>to</strong>r?– Need <strong>to</strong> know the detec<strong>to</strong>r size (GetNSCParameter).– Need <strong>to</strong> know the detec<strong>to</strong>r position (GetNSCPostion).Polar Detec<strong>to</strong>r Radius% <strong>Zemax</strong> data item <strong>to</strong> get detec<strong>to</strong>rradiussurf = num2str(1);object = num2str(4);parameter = num2str(2);item = strcat('GetNSCParameter, ',...surf, ', ', object, ', ', parameter);detec<strong>to</strong>r_radius = ...ddereq(channel,item);Source Position% <strong>Zemax</strong> data item <strong>to</strong> get detec<strong>to</strong>rpositionsurf = num2str(1);object = num2str(1);item = strcat('GetNSCPosition,',...surf, ', ', object);detec<strong>to</strong>r_position = ...ddereq(channel, item, [1,1]);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!