Rank: 1249 based on 52 downloads (last 30 days) and 5 files submitted
photo

Sean Bryan

E-mail
Company/University
Case Western Reserve University
Lat/Long
41.5, -81.59999847412109

Personal Profile:

cmb.phys.case.edu/~sbryan

Professional Interests:

 

Watch this Author's files

 

Files Posted by Sean View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Jul 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan zemax, zbf, beam file, beam, physical optics, optics 8 8
18 Oct 2010 Structure Cut Utility function that applies the same cut to specified elements of a structure. Author: Sean Bryan signal processing, structure, struct, matrix, data import, array 2 8
27 Sep 2007 Error Propagation Class This class automatically performs error propagation in Matlab expressions. Author: Sean Bryan analysis, propagation, error, probability, class, measurement 8 5
  • 5.0
5.0 | 4 ratings
19 Apr 2007 Subversion Interface for Matlab Use the Subversion version control system in Matlab Author: Sean Bryan source control, subversion, svn, development environme..., rcs, cvs 33 21
  • 4.0
4.0 | 12 ratings
03 Apr 2007 CAMB Interface for Matlab Simple and extendable interface to the Cosmic Microwave Background Anisotropy code CAMB. Author: Sean Bryan chemistry, physics, camb, cmb, cosmic, microwave 1 0
Comments and Ratings by Sean View all
Updated File Comments Rating
29 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan

Hi Mohamed,

I'm actually not sure how Zemax normalizes the ZBF files... For my application, I just wanted a relative map, so the absolute power wasn't what I was after. Let me know if you figure out more about the normalization...sorry I'm not any help.

-Sean

02 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan

Weird...maybe GNUMex is broken for Windows 7. Thanks for pointing that out, I'll keep it in mind for the future.

Post your native Matlab solution? :) Or does work not allow that...

29 Jul 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan

Did installing MinGW and GNUMex work for you?

Once those are installed, starting Matlab, changing into the directory where the code is, and typing "mex read_zbf_mex.c" should compile the code. Is that step failing even with MinGW and GNUMex installed?

29 Jul 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan

(Oh, I do think it could be rewritten in native Matlab. I was trying to minimally change an existing c-code, so that's why I went with mex.)

21 Oct 2010 Structure Cut Utility function that applies the same cut to specified elements of a structure. Author: Sean Bryan

So, that occurred to me too, but then the structure gets passed around a lot. Plus, recursive functions might be as scary as eval, because of the looping potential there.

I guess it's just a matter of taste either way. Fee free to write recursive_struct_cut.m and post it too!

Comments and Ratings on Sean's Files View all
Updated File Comment by Comments Rating
29 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan Bryan, Sean

Hi Mohamed,

I'm actually not sure how Zemax normalizes the ZBF files... For my application, I just wanted a relative map, so the absolute power wasn't what I was after. Let me know if you figure out more about the normalization...sorry I'm not any help.

-Sean

28 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan Mohamed

Dear Sean Bryan

thanks for the file but I found that there is a difference in the power obtained from this file and when zbf is opened in beam file viwer inside Zemax

Do you have reason for this

04 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan Brodsky, Alexander

You are right, I can't because of the work.
Sorry.

02 Aug 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan Bryan, Sean

Weird...maybe GNUMex is broken for Windows 7. Thanks for pointing that out, I'll keep it in mind for the future.

Post your native Matlab solution? :) Or does work not allow that...

30 Jul 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan Brodsky, Alexander

thanks for replying. I needed this solution for my work. After all we solved this problem in native MATLAB by using description from ZEMAX support of ZBF file structure. We made it with only using binary file functions.

I use WIN 7 and after installation of MinGW and GNUMex the line mex read_zbf_mex.c didn't work. Also mex -setup doesn't recognize this compiler.

Top Tags Applied by Sean
analysis, anisotropy, array, background, beam
Files Tagged by Sean View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Jul 2011 Read ZEMAX Beam File (ZBF) Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. Author: Sean Bryan zemax, zbf, beam file, beam, physical optics, optics 8 8
18 Oct 2010 Structure Cut Utility function that applies the same cut to specified elements of a structure. Author: Sean Bryan signal processing, structure, struct, matrix, data import, array 2 8
27 Sep 2007 Error Propagation Class This class automatically performs error propagation in Matlab expressions. Author: Sean Bryan analysis, propagation, error, probability, class, measurement 8 5
  • 5.0
5.0 | 4 ratings
19 Apr 2007 Subversion Interface for Matlab Use the Subversion version control system in Matlab Author: Sean Bryan source control, subversion, svn, development environme..., rcs, cvs 33 21
  • 4.0
4.0 | 12 ratings
03 Apr 2007 CAMB Interface for Matlab Simple and extendable interface to the Cosmic Microwave Background Anisotropy code CAMB. Author: Sean Bryan chemistry, physics, camb, cmb, cosmic, microwave 1 0

Contact us at files@mathworks.com