瀏覽代碼

Readme edit

Konstantin Ladutenko 10 年之前
父節點
當前提交
29af333f7a
共有 1 個文件被更改,包括 14 次插入11 次删除
  1. 14 11
      README.md

+ 14 - 11
README.md

@@ -17,27 +17,30 @@ Use:
 ----
 
 1. Python library
-    * Use scattnlay directly
-```python
+  * Use scattnlay directly
+  ```python
 from scattnlay import scattnlay
 ...
 x = ...
 m = ...
 terms, Qext, Qsca, Qabs, Qbk, Qpr, g, Albedo, S1, S2 = scattnlay(x, m)
 ...
-```
-    * Execute some of the test scripts (located in the folder 'tests/python')
+  ```
+  * Execute some of the test scripts (located in the folder 'tests/python')
           Example:
 ```bash
 ./test01.py
 ```
-
 2. Standalone program
-      * Execute scattnlay directly
-          Usage: scattnlay -l Layers x1 m1.r m1.i [x2 m2.r m2.i ...] [-c comment]
-
-      * Execute some of the test scripts (located in the folder 'tests/shell')
-          Example:  ./test01.sh > test01.csv
+  * Execute scattnlay directly
+          Usage:
+```bash
+scattnlay -l Layers x1 m1.r m1.i [x2 m2.r m2.i ...] [-c comment]
+```
+  * Execute some of the test scripts (located in the folder 'tests/shell')
+          Example:
+```bash
+./test01.sh > test01.csv
+```
 
-*******************************************************************************