cyaxares


Namecyaxares JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/refetaliyalcin/cyaxares
SummaryA dense medium radiative transfer equation solver using Monte Carlo method
upload_time2023-05-11 22:00:29
maintainer
docs_urlNone
authorRefet Ali Yalcin
requires_python
licenseMIT
keywords radiative transfer monte carlo colloids mie theory mie effective medium theory
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This code provides you the solution of the radiative transfer equation in a single layer pigmented plane parallel medium. Ray is incident from air to the coating. Coating is coated on a substrate. Substrate could be air or other material such as silver, glass etc. The code estimates spectral absorptance, spectral hemispherical reflectance and transmittance.The code can account for; (i) independent and dependent (dense medium) scattering. dependent scattering is handled by static structure factor(ii) boundary reflections (can calculate refraction angle between air and medium with k>0)(iii) effective medium theory while calculating boundary reflection (maxwell-garnett effective medium theory)(iv) absorptive medium (mie in absorbing medium and refraction at absorbing medium). 
The code can't account for; (i) coherent backscattering, (ii) plasmonic coupling, (iii) near field effects and (iv) polarization.
While calculating the scattering direction the code can use (i) henyey greenstein phase function or (ii) exact scattering phase function that is calculated by Mie theory.

Inputs:

% lambda thickness radius (and sigma if particles are polydisperse) should have the same unit [micrometer is used in examples]

lambda=0.5; %freespace wavelength of incident ray in unit length 
thickness=100;  %thickness of coating in unit length  
f_v=0.10; %particle volume fraction 0.01 corresponds to 1% 
polar_angle_deg=0; %incident angles. 0 = perpendicular to slab. 90 is parallel and should be avoided.

for monodisperse case:
radius=0.05; %radius of particle in unit length  
for polydisperse case
avg_radius=0.2; %radius of particle in unit length  
sigma = 0.0001; %standard deviation of the radius in unit length

%optical properties
n_medium = 1.33; %real refractive index of medium
k_medium = 0; %imaginary refractive index of medium
n_pigment=1.5; %real refractive index of particle
k_pigment=0; %imaginary refractive index of particle
n_substrat=1; %real refractive index of substrate
k_substrat=0; %imaginary refractive index of substrate

%numerical stability settings
photon_number=10^5; %number of rays that will be traced, higher the number more accurate the result
nang=20000; %discretization of scattering angle, for large size parameters (>100) should be high (>50000) 

Change Log
==========


0.1 (11/05/2023)
-----------------
- First Release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/refetaliyalcin/cyaxares",
    "name": "cyaxares",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "radiative transfer,monte carlo,colloids,Mie theory,Mie,Effective medium theory",
    "author": "Refet Ali Yalcin",
    "author_email": "refetali@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fa/b4/b097371ce703fb0ad8b6aa9f1d4010b4ff1133ae1dcbc7fae60ea305dc39/cyaxares-0.1.tar.gz",
    "platform": null,
    "description": "This code provides you the solution of the radiative transfer equation in a single layer pigmented plane parallel medium. Ray is incident from air to the coating.\u00c2\u00a0Coating is coated on a substrate. Substrate could be air or other material such as silver, glass etc.\u00c2\u00a0The code estimates spectral absorptance, spectral hemispherical reflectance and transmittance.The code can account for;\u00c2\u00a0(i) independent and dependent (dense medium) scattering. dependent scattering is handled by static structure factor(ii) boundary reflections (can calculate refraction angle between air and medium with k>0)(iii) effective medium theory while calculating boundary reflection (maxwell-garnett effective medium theory)(iv) absorptive medium (mie in absorbing medium and refraction at absorbing medium). \r\nThe\u00c2\u00a0code can't account for; (i) coherent backscattering, (ii) plasmonic coupling, (iii) near field effects and (iv) polarization.\r\nWhile calculating the scattering direction the code can use (i) henyey greenstein phase function or (ii) exact scattering phase function that is calculated by Mie theory.\r\n\r\nInputs:\r\n\r\n% lambda thickness radius (and sigma if particles are polydisperse) should have the same unit [micrometer is used in examples]\r\n\r\nlambda=0.5; %freespace wavelength of incident ray in unit length \r\nthickness=100; \u00c2\u00a0%thickness of coating in unit length \u00c2\u00a0\r\nf_v=0.10; %particle volume fraction 0.01 corresponds to 1% \r\npolar_angle_deg=0; %incident angles. 0 = perpendicular to slab. 90 is parallel and should be avoided.\r\n\r\nfor monodisperse case:\r\nradius=0.05; %radius of particle in unit length \u00c2\u00a0\r\nfor polydisperse case\r\navg_radius=0.2; %radius of particle in unit length \u00c2\u00a0\r\nsigma = 0.0001; %standard deviation of the radius in unit length\r\n\r\n%optical properties\r\nn_medium = 1.33; %real refractive index of medium\r\nk_medium = 0; %imaginary refractive index of medium\r\nn_pigment=1.5; %real refractive index of particle\r\nk_pigment=0; %imaginary refractive index of particle\r\nn_substrat=1; %real refractive index of substrate\r\nk_substrat=0; %imaginary refractive index of substrate\r\n\r\n%numerical stability settings\r\nphoton_number=10^5; %number of rays that will be traced, higher the number more accurate the result\r\nnang=20000; %discretization of scattering angle, for large size parameters (>100) should be high (>50000)\u00c2\u00a0\r\n\r\nChange Log\r\n==========\r\n\r\n\r\n0.1 (11/05/2023)\r\n-----------------\r\n- First Release\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A dense medium radiative transfer equation solver using Monte Carlo method",
    "version": "0.1",
    "project_urls": {
        "Homepage": "https://github.com/refetaliyalcin/cyaxares"
    },
    "split_keywords": [
        "radiative transfer",
        "monte carlo",
        "colloids",
        "mie theory",
        "mie",
        "effective medium theory"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fab4b097371ce703fb0ad8b6aa9f1d4010b4ff1133ae1dcbc7fae60ea305dc39",
                "md5": "df8d3f5e1c71c87025f09f3651e54c67",
                "sha256": "8f8f2a632aaa4fbe448f8adff147b8dd43fdd2e49f5ac511baa43e633d640c3d"
            },
            "downloads": -1,
            "filename": "cyaxares-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "df8d3f5e1c71c87025f09f3651e54c67",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8828,
            "upload_time": "2023-05-11T22:00:29",
            "upload_time_iso_8601": "2023-05-11T22:00:29.281034Z",
            "url": "https://files.pythonhosted.org/packages/fa/b4/b097371ce703fb0ad8b6aa9f1d4010b4ff1133ae1dcbc7fae60ea305dc39/cyaxares-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-11 22:00:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "refetaliyalcin",
    "github_project": "cyaxares",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cyaxares"
}
        
Elapsed time: 0.06535s