24小时热门版块排行榜    

CyRhmU.jpeg
南方科技大学公共卫生及应急管理学院2026级博士研究生招生报考通知(长期有效)
查看: 936  |  回复: 2

starkneny

新虫 (小有名气)

[求助] 各向异性材料传输矩阵法已有1人参与

有人有各向异性材料传输矩阵方法求光学特性的代码吗,感激不尽,可以有偿!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

rlafite

木虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
starkneny: 金币+30, 有帮助 2024-12-23 10:30:42
https://github.com/gevero/py_matrix

py-matrix useful for generating results included in publications, please consider citing the following paper:

Pellegrini G. and Mattei G. (2014) High-Performance Magneto-Optic Surface Plasmon Resonance Sensor Design: An Optimization Approach. Plasmonics 1–6. doi:10.1007/s11468-014-9764-6

Installation
Installing py_matrix should be fairly easy. First of all you need a python distribution on your system. The simplest thing to do if you are using Windows or OSX would be to install Anaconda, a beautiful, free, and easy to use python distribution: the relevant installations instructions are found here. If you are using Linux you probably already know how to install python on your system, nevertheless my advice is to also install The IPython Notebook, which is already bundled in Anaconda.

The second step would be installing py_matrix itself. If you are familiar with git and github you can simply clone the repository, otherwise just download the zipped version of the repo and unpack it wherever you like.

Usage
The best thing to do for the moment is to start from the .ipynb files in the examples folder. You can load them in your local IPython Notebook instance: they should give you a fair idea about how to proceed for your calculations. Each function in the code features a detailed documentation easily accessible with the Shift-Tab tool-tip shortcut from the IPython Notebook interface.
2楼2024-12-13 00:29:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

starkneny

新虫 (小有名气)

引用回帖:
2楼: Originally posted by rlafite at 2024-12-13 00:29:04
https://github.com/gevero/py_matrix

py-matrix useful for generating results included in publications, please consider citing the following paper:

Pellegrini G. and Mattei G. (2014) High-Perfor ...

谢谢您的答复!之前在github上看到过这个代码,因为不懂python语言,所以想找个用matlab编写的程序。
3楼2024-12-15 17:18:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 starkneny 的主题更新
信息提示
请填处理意见