skinoptics 0.0.1b6__py3-none-any.whl → 0.0.1b7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- skinoptics/__init__.py +6 -5
- skinoptics/absorption_coefficient.py +4 -3
- skinoptics/anisotropy_factor.py +13 -12
- skinoptics/colors.py +4 -3
- skinoptics/dataframes.py +4 -3
- skinoptics/refractive_index.py +4 -3
- skinoptics/scattering_coefficient.py +4 -3
- skinoptics/utils.py +4 -3
- {skinoptics-0.0.1b6.dist-info → skinoptics-0.0.1b7.dist-info}/METADATA +1 -1
- {skinoptics-0.0.1b6.dist-info → skinoptics-0.0.1b7.dist-info}/RECORD +13 -13
- {skinoptics-0.0.1b6.dist-info → skinoptics-0.0.1b7.dist-info}/WHEEL +1 -1
- {skinoptics-0.0.1b6.dist-info → skinoptics-0.0.1b7.dist-info}/licenses/LICENSE.txt +0 -0
- {skinoptics-0.0.1b6.dist-info → skinoptics-0.0.1b7.dist-info}/top_level.txt +0 -0
skinoptics/__init__.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
'''
|
2
|
-
Copyright (C) 2024 Victor Lima
|
2
|
+
Copyright (C) 2024-2025 Victor Lima
|
3
3
|
|
4
4
|
| This program is free software: you can redistribute it and/or modify
|
5
5
|
| it under the terms of the GNU General Public License as published by
|
@@ -17,11 +17,12 @@ Copyright (C) 2024 Victor Lima
|
|
17
17
|
| Victor Lima
|
18
18
|
| victorporto\@ifsc.usp.br
|
19
19
|
| victor.lima\@ufscar.br
|
20
|
+
| victorportog.github.io
|
20
21
|
|
21
|
-
| Release
|
22
|
-
| October 2024
|
23
|
-
| Last Modification:
|
22
|
+
| Release date:
|
24
23
|
| October 2024
|
24
|
+
| Last modification:
|
25
|
+
| March 2025
|
25
26
|
|
26
27
|
| Version History:
|
27
28
|
| available at <https://pypi.org/project/skinoptics/#history>
|
@@ -35,7 +36,7 @@ __all__ = ['utils', 'dataframes',
|
|
35
36
|
__version__major = '0'
|
36
37
|
__version__minor = '0'
|
37
38
|
__version__micro = '1'
|
38
|
-
__version__suffix = '
|
39
|
+
__version__suffix = 'b7'
|
39
40
|
|
40
41
|
__author__ = "Victor Lima"
|
41
42
|
__copyright__ = "Copyright (c) 2024-2025 Victor Lima"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| October 2024
|
26
27
|
|
27
28
|
| References:
|
skinoptics/anisotropy_factor.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,11 +18,12 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
24
|
+
| October 2024
|
25
|
+
| Last modification:
|
23
26
|
| October 2024
|
24
|
-
| Last Modification:
|
25
|
-
| October 2025
|
26
27
|
|
27
28
|
| References:
|
28
29
|
|
@@ -402,9 +403,9 @@ def theta_R_from_RND(n_RND = int(1E6)):
|
|
402
403
|
|
403
404
|
| :math:`\theta_{R} = \mbox{arccos}(\sqrt[3]{u + v} + \sqrt[3]{u - v})`
|
404
405
|
| with
|
405
|
-
| :math:`u = -2(2 \
|
406
|
-
| :math:`v = \sqrt{4(2 \
|
407
|
-
| in which :math:`\
|
406
|
+
| :math:`u = -2(2 \xi - 1)`
|
407
|
+
| :math:`v = \sqrt{4(2 \xi - 1)^2 + 1}`
|
408
|
+
| in which :math:`\xi` is a random number in the interval [0, 1)
|
408
409
|
|
409
410
|
:param n_RND: number of random numbers [-] (default to int(1E6))
|
410
411
|
:type n_RND: int
|
@@ -429,11 +430,11 @@ def theta_HG_from_RND(g, n_RND = int(1E6)):
|
|
429
430
|
|
430
431
|
:math:`\theta_{HG} =
|
431
432
|
\left \{ \begin{matrix}
|
432
|
-
\mbox{arccos}(2 \
|
433
|
-
\mbox{arccos}\left\{\frac{1}{2g} \left[1 + g^2 - \left(\frac{1 - g^2}{1 - g + 2g \
|
433
|
+
\mbox{arccos}(2 \xi - 1) , & \mbox{if } g = 0 \\
|
434
|
+
\mbox{arccos}\left\{\frac{1}{2g} \left[1 + g^2 - \left(\frac{1 - g^2}{1 - g + 2g \xi}\right)^2\right]\right\}, & \mbox{if } g \ne 0
|
434
435
|
\end{matrix} \right.`
|
435
436
|
|
436
|
-
in which :math:`\
|
437
|
+
in which :math:`\xi` is a random number in the interval [0, 1)
|
437
438
|
|
438
439
|
In this particular model :math:`g` is the anisotropy factor.
|
439
440
|
|
@@ -465,9 +466,9 @@ def theta_U2_from_RND(g, n_RND = int(1E6)):
|
|
465
466
|
| scattering phase function.
|
466
467
|
| For details please check section 4.4.2 from Baes, Camps & Kapoor 2022 [BCK22].
|
467
468
|
|
468
|
-
:math:`\theta_{U2} = arccos\left[\frac{(1 + g)^2 - 2 \
|
469
|
+
:math:`\theta_{U2} = arccos\left[\frac{(1 + g)^2 - 2 \xi (1 + g^2)}{(1 + g)^2 - 4g \xi}\right]`
|
469
470
|
|
470
|
-
in which :math:`\
|
471
|
+
in which :math:`\xi` is a random number in the interval [0, 1)
|
471
472
|
|
472
473
|
| In this model :math:`g` is NOT the anisotropy factor.
|
473
474
|
|
skinoptics/colors.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| October 2024
|
26
27
|
|
27
28
|
| References:
|
skinoptics/dataframes.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| March 2025
|
26
27
|
|
27
28
|
| Example:
|
skinoptics/refractive_index.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| March 2025
|
26
27
|
|
27
28
|
| References:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| October 2024
|
26
27
|
|
27
28
|
| References:
|
skinoptics/utils.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'''
|
2
2
|
| SkinOptics
|
3
|
-
| Copyright (C) 2024 Victor Lima
|
3
|
+
| Copyright (C) 2024-2025 Victor Lima
|
4
4
|
|
5
5
|
| This program is free software: you can redistribute it and/or modify
|
6
6
|
| it under the terms of the GNU General Public License as published by
|
@@ -18,10 +18,11 @@
|
|
18
18
|
| Victor Lima
|
19
19
|
| victorporto\@ifsc.usp.br
|
20
20
|
| victor.lima\@ufscar.br
|
21
|
+
| victorportog.github.io
|
21
22
|
|
22
|
-
| Release
|
23
|
+
| Release date:
|
23
24
|
| October 2024
|
24
|
-
| Last
|
25
|
+
| Last modification:
|
25
26
|
| October 2024
|
26
27
|
|
27
28
|
| References:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: skinoptics
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.1b7
|
4
4
|
Summary: SkinOptics: a python package with tools for building human skin computational models for Monte Carlo simulations of light transport
|
5
5
|
Author-email: Victor Lima <victorporto@ifsc.usp.br>
|
6
6
|
Project-URL: Homepage, https://github.com/victorportog/skinoptics
|
@@ -1,11 +1,11 @@
|
|
1
|
-
skinoptics/__init__.py,sha256=
|
2
|
-
skinoptics/absorption_coefficient.py,sha256=
|
3
|
-
skinoptics/anisotropy_factor.py,sha256=
|
4
|
-
skinoptics/colors.py,sha256=
|
5
|
-
skinoptics/dataframes.py,sha256=
|
6
|
-
skinoptics/refractive_index.py,sha256=
|
7
|
-
skinoptics/scattering_coefficient.py,sha256=
|
8
|
-
skinoptics/utils.py,sha256=
|
1
|
+
skinoptics/__init__.py,sha256=_UWhMASRUKozbt0nPNNydK6WBolnYI018yYYCNW4UKQ,1572
|
2
|
+
skinoptics/absorption_coefficient.py,sha256=f5mKTqgEiXKk0MDhPyL6t3w3jPDriJqI3R65U8mZNy8,36292
|
3
|
+
skinoptics/anisotropy_factor.py,sha256=tMRDLT5DpAI4CEATo9qigjrfSuHVKOTPz-fLnJJ8IVA,37963
|
4
|
+
skinoptics/colors.py,sha256=mUAQOyLiwM-PnLjDLNSz7Lt57iRBawXutsDxDwNMY4g,56759
|
5
|
+
skinoptics/dataframes.py,sha256=EMN1Cr0gJu0TM5fZJTP5qk8Dfu5VqvhnxUq5mcS2zQQ,6485
|
6
|
+
skinoptics/refractive_index.py,sha256=1zuSNIjy3KkbPH30YNbkPosASENTBtkxym8IML0Uy0A,14994
|
7
|
+
skinoptics/scattering_coefficient.py,sha256=3rsbwkqD2OeHfmu9z8bEGCBJ1RTjKzPV9fSu78gtrco,15244
|
8
|
+
skinoptics/utils.py,sha256=qjBM3B9mTIPsYZNvt4u32rd96mnn4bovOoZfA6Y7aNA,10899
|
9
9
|
skinoptics/datasets/colors/Lab_Alaluf2002.txt,sha256=PEmAPud84qe7U7V0kQliYvPwng3NuT-9qKLqabQWMYo,610
|
10
10
|
skinoptics/datasets/colors/Lab_Xiao2017.txt,sha256=fx7y84PN5OFSDH6Z4rUNML6U8QOnHDr7MTWoxvNFBRs,903
|
11
11
|
skinoptics/datasets/colors/cmfs.txt,sha256=q4Veg2SoCipCBRj2DL5pSzEH5RW4YORUmXxyVytB7KE,44381
|
@@ -37,8 +37,8 @@ skinoptics/datasets/optical_properties/n_and_k_wat_Segelstein.txt,sha256=EZIS515
|
|
37
37
|
skinoptics/datasets/optical_properties/oxy_and_deo_Bosschaart.txt,sha256=eF96Ao44TDUYRo6-8p0L7I9Q8h6wLNpEUyrcbo7FySA,24972
|
38
38
|
skinoptics/datasets/spectra/Xiao2016/skindatabaseSpectra/readmeSpectra.docx,sha256=ren4htGe154BIlBridkvBvbc8AYY1RRmp4CVICYwDvc,15147
|
39
39
|
skinoptics/datasets/spectra/Xiao2016/skindatabaseSpectra/skin spectra data.xlsx,sha256=z7shS1rZzqpaRGi_Ji0nYcSzIxEmADQOtaJ_Uwcotcc,1434709
|
40
|
-
skinoptics-0.0.
|
41
|
-
skinoptics-0.0.
|
42
|
-
skinoptics-0.0.
|
43
|
-
skinoptics-0.0.
|
44
|
-
skinoptics-0.0.
|
40
|
+
skinoptics-0.0.1b7.dist-info/licenses/LICENSE.txt,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
41
|
+
skinoptics-0.0.1b7.dist-info/METADATA,sha256=JJqS041oF-pt4t6Tj4SUFLTIylvKdi8_evaBC80f0jM,1324
|
42
|
+
skinoptics-0.0.1b7.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
43
|
+
skinoptics-0.0.1b7.dist-info/top_level.txt,sha256=4NYJW3uliYlvbd-Zywg2MxJOGe4wYA7Oz_I5EZF4YEQ,11
|
44
|
+
skinoptics-0.0.1b7.dist-info/RECORD,,
|
File without changes
|
File without changes
|