暫無描述

Ovidio Peña Rodríguez ee210f0206 Several changes to calculate the electric field. May break compilation. 10 年之前
debian a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
tests acdd386022 Deleted library ucomplex because it is no longer required. Also added the cython setup file. 10 年之前
.gitignore c656bc606c aCos is inversed ? 10 年之前
CHANGES 1b7786ad5a Initial commit based on Ovidio version of python-scattnlay 0.3.0 10 年之前
COPYING 1b7786ad5a Initial commit based on Ovidio version of python-scattnlay 0.3.0 10 年之前
LICENSE 1b7786ad5a Initial commit based on Ovidio version of python-scattnlay 0.3.0 10 年之前
MANIFEST.in a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
Makefile a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
PKG-INFO a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
README 1b7786ad5a Initial commit based on Ovidio version of python-scattnlay 0.3.0 10 年之前
go.sh cefce2a4a0 It works? 10 年之前
nmie-wrapper.cc a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
nmie-wrapper.h 7e16f7b6ab Start of conversion to std::vector and std::complex 10 年之前
nmie.cc 0e0d9049a6 Modifications to include near-field calculations. Probably will fail to compile but will fix it soon. 10 年之前
nmie.h a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
push-to-github.sh 7e16f7b6ab Start of conversion to std::vector and std::complex 10 年之前
py_nmie.cc a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
py_nmie.h a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
scattnlay.cc a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
scattnlay.pyx a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
setup.py a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前
setup_cython.py acdd386022 Deleted library ucomplex because it is no longer required. Also added the cython setup file. 10 年之前
standalone.cc a02a844cdc Modifications to complete the porting to C++. Most of the work was done by 'kostyfisik'. 10 年之前

README

*******************************************************************************
How to use scattnlay
*******************************************************************************

1. Compile Code:
(a) Compilation options
* make source - Create source package (python library)
* make install - Install on local system (python library)
* make buildrpm - Generate a rpm package (python library)
* make builddeb - Generate a deb package (python library)
* make standalone - Create a standalone program
* make clean - Delete temporal files

*******************************************************************************
2. Use:
(a) Python library
* Use scattnlay directly
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')
Example: ./test01.py

(b) 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

*******************************************************************************