skinoptics 0.0.7__py3-none-any.whl → 0.0.8__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 +1 -1
- skinoptics/colors.py +25 -19
- {skinoptics-0.0.7.dist-info → skinoptics-0.0.8.dist-info}/METADATA +1 -1
- {skinoptics-0.0.7.dist-info → skinoptics-0.0.8.dist-info}/RECORD +7 -7
- {skinoptics-0.0.7.dist-info → skinoptics-0.0.8.dist-info}/WHEEL +0 -0
- {skinoptics-0.0.7.dist-info → skinoptics-0.0.8.dist-info}/licenses/LICENSE.txt +0 -0
- {skinoptics-0.0.7.dist-info → skinoptics-0.0.8.dist-info}/top_level.txt +0 -0
skinoptics/__init__.py
CHANGED
skinoptics/colors.py
CHANGED
@@ -330,7 +330,7 @@ def XYZ_wp(illuminant, observer, cmfs_model = 'CIE', K = 1.):
|
|
330
330
|
r'''
|
331
331
|
The white point CIE XYZ coordinates for a chosen standard illuminant and standard observer.
|
332
332
|
|
333
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
333
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
334
334
|
:type illuminant: str
|
335
335
|
|
336
336
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
@@ -343,10 +343,11 @@ def XYZ_wp(illuminant, observer, cmfs_model = 'CIE', K = 1.):
|
|
343
343
|
:type K: float
|
344
344
|
|
345
345
|
| 'A' refers to the CIE standard illuminant A
|
346
|
+
| 'C' refers to the CIE illuminant C
|
346
347
|
| 'D50' refers to the CIE standard illuminant D50
|
347
|
-
| 'D55' refers to the CIE
|
348
|
+
| 'D55' refers to the CIE illuminant D55
|
348
349
|
| 'D65' refers to the CIE standard illuminant D65
|
349
|
-
| 'D75' refers to the CIE
|
350
|
+
| 'D75' refers to the CIE illuminant D75
|
350
351
|
|
351
352
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
352
353
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -363,7 +364,7 @@ def XYZ_wp(illuminant, observer, cmfs_model = 'CIE', K = 1.):
|
|
363
364
|
- **Zn** (*float*) – white point Z coordinate [-]
|
364
365
|
'''
|
365
366
|
|
366
|
-
if illuminant == 'D55' or illuminant == 'D75':
|
367
|
+
if illuminant == 'C' or illuminant == 'D55' or illuminant == 'D75':
|
367
368
|
Xn, Yn, Zn = XYZ_from_spectrum(np.arange(360, 780, 1), np.ones(len(np.arange(360, 780, 1)))*100,
|
368
369
|
lambda_max = 780, illuminant = illuminant, observer = observer, cmfs_model = cmfs_model, K = K)
|
369
370
|
else:
|
@@ -377,17 +378,18 @@ def xy_wp(illuminant, observer):
|
|
377
378
|
| The white point CIE xy chromaticities for a chosen standard illuminant and standard observer.
|
378
379
|
| Calculated from the white point CIE XYZ coordinates (see function :meth:`skinoptics.colors.XYZ_wp`).
|
379
380
|
|
380
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
381
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
381
382
|
:type illuminant: str
|
382
383
|
|
383
384
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
384
385
|
:type observer: str
|
385
386
|
|
386
387
|
| 'A' refers to the CIE standard illuminant A
|
388
|
+
| 'C' refers to the CIE illuminant C
|
387
389
|
| 'D50' refers to the CIE standard illuminant D50
|
388
|
-
| 'D55' refers to the CIE
|
390
|
+
| 'D55' refers to the CIE illuminant D55
|
389
391
|
| 'D65' refers to the CIE standard illuminant D65
|
390
|
-
| 'D75' refers to the CIE
|
392
|
+
| 'D75' refers to the CIE illuminant D75
|
391
393
|
|
392
394
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
393
395
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -782,7 +784,7 @@ def Lab_from_XYZ(X, Y, Z, illuminant = 'D65', observer = '10o', K = 1.):
|
|
782
784
|
:param Z: Z coordinate [-]
|
783
785
|
:type Z: float or np.ndarray
|
784
786
|
|
785
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
787
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
786
788
|
:type illuminant: str
|
787
789
|
|
788
790
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
@@ -792,10 +794,11 @@ def Lab_from_XYZ(X, Y, Z, illuminant = 'D65', observer = '10o', K = 1.):
|
|
792
794
|
:type K: float
|
793
795
|
|
794
796
|
| 'A' refers to the CIE standard illuminant A
|
797
|
+
| 'C' refers to the CIE illuminant C
|
795
798
|
| 'D50' refers to the CIE standard illuminant D50
|
796
|
-
| 'D55' refers to the CIE
|
799
|
+
| 'D55' refers to the CIE illuminant D55
|
797
800
|
| 'D65' refers to the CIE standard illuminant D65
|
798
|
-
| 'D75' refers to the CIE
|
801
|
+
| 'D75' refers to the CIE illuminant D75
|
799
802
|
|
800
803
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
801
804
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -861,7 +864,7 @@ def XYZ_from_Lab(L, a, b, illuminant = 'D65', observer = '10o', K = 1.):
|
|
861
864
|
:param b: b* coordinate [-]
|
862
865
|
:type b: float or np.ndarray
|
863
866
|
|
864
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
867
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
865
868
|
:type illuminant: str
|
866
869
|
|
867
870
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
@@ -871,10 +874,11 @@ def XYZ_from_Lab(L, a, b, illuminant = 'D65', observer = '10o', K = 1.):
|
|
871
874
|
:type K: float
|
872
875
|
|
873
876
|
| 'A' refers to the CIE standard illuminant A
|
877
|
+
| 'C' refers to the CIE illuminant C
|
874
878
|
| 'D50' refers to the CIE standard illuminant D50
|
875
|
-
| 'D55' refers to the CIE
|
879
|
+
| 'D55' refers to the CIE illuminant D55
|
876
880
|
| 'D65' refers to the CIE standard illuminant D65
|
877
|
-
| 'D75' refers to the CIE
|
881
|
+
| 'D75' refers to the CIE illuminant D75
|
878
882
|
|
879
883
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
880
884
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -1346,7 +1350,7 @@ def XYZ_from_spectrum(all_lambda, spectrum, lambda_min = 360., lambda_max = 830.
|
|
1346
1350
|
:param lambda_step: summation interval (wavelength step) [nm] (default to 1.)
|
1347
1351
|
:type lambda_step: float
|
1348
1352
|
|
1349
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
1353
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
1350
1354
|
:type illuminant: str
|
1351
1355
|
|
1352
1356
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
@@ -1362,10 +1366,11 @@ def XYZ_from_spectrum(all_lambda, spectrum, lambda_min = 360., lambda_max = 830.
|
|
1362
1366
|
:type interp1d_kind: str
|
1363
1367
|
|
1364
1368
|
| 'A' refers to the CIE standard illuminant A
|
1369
|
+
| 'C' refers to the CIE illuminant C
|
1365
1370
|
| 'D50' refers to the CIE standard illuminant D50
|
1366
|
-
| 'D55' refers to the CIE
|
1371
|
+
| 'D55' refers to the CIE illuminant D55
|
1367
1372
|
| 'D65' refers to the CIE standard illuminant D65
|
1368
|
-
| 'D75' refers to the CIE
|
1373
|
+
| 'D75' refers to the CIE illuminant D75
|
1369
1374
|
|
1370
1375
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
1371
1376
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -1480,7 +1485,7 @@ def Lab_from_spectrum(all_lambda, spectrum, lambda_min = 360, lambda_max = 830,
|
|
1480
1485
|
:param lambda_step: summation interval (wavelength step) [nm] (default to 1.)
|
1481
1486
|
:type lambda_step: float
|
1482
1487
|
|
1483
|
-
:param illuminant: the user can choose one of the following... 'A', 'D50', 'D55', 'D65' or 'D75'
|
1488
|
+
:param illuminant: the user can choose one of the following... 'A', 'C', 'D50', 'D55', 'D65' or 'D75'
|
1484
1489
|
:type illuminant: str
|
1485
1490
|
|
1486
1491
|
:param observer: the user can choose one of the following... '2o' or '10o'
|
@@ -1493,10 +1498,11 @@ def Lab_from_spectrum(all_lambda, spectrum, lambda_min = 360, lambda_max = 830,
|
|
1493
1498
|
:type interp1d_kind: str
|
1494
1499
|
|
1495
1500
|
| 'A' refers to the CIE standard illuminant A
|
1501
|
+
| 'C' refers to the CIE illuminant C
|
1496
1502
|
| 'D50' refers to the CIE standard illuminant D50
|
1497
|
-
| 'D55' refers to the CIE
|
1503
|
+
| 'D55' refers to the CIE illuminant D55
|
1498
1504
|
| 'D65' refers to the CIE standard illuminant D65
|
1499
|
-
| 'D75' refers to the CIE
|
1505
|
+
| 'D75' refers to the CIE illuminant D75
|
1500
1506
|
|
1501
1507
|
| '2o' refers to the CIE 1931 2 degree standard observer
|
1502
1508
|
| '10o' refers to the CIE 1964 10 degree standard observer
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: skinoptics
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.8
|
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 <victor.lima@ufscar.br>
|
6
6
|
Project-URL: Homepage, https://github.com/victorportog/skinoptics
|
@@ -1,7 +1,7 @@
|
|
1
|
-
skinoptics/__init__.py,sha256=
|
1
|
+
skinoptics/__init__.py,sha256=rkr7_5AHVhs-BPMEHqYlfJb7iMfOJ9B5dyrivH5TbT8,1525
|
2
2
|
skinoptics/absorption_coefficient.py,sha256=lg4B1j_QNwnuATomFyBOCEe5hfM6AIl5ROsDpaGpIzs,36264
|
3
3
|
skinoptics/anisotropy_factor.py,sha256=s-moy9nWkD87NEJMjrVXuIItqj0xIdbTykZoVQtQaRw,37612
|
4
|
-
skinoptics/colors.py,sha256=
|
4
|
+
skinoptics/colors.py,sha256=5aUUf2m4TFQNN55iKAqejZ8z94LmF1l0K_Qy3SeuM1k,61520
|
5
5
|
skinoptics/dataframes.py,sha256=TOmwIKdea3mIGTqShzDp62tnkOVX3T9xdA0bbRstKQM,6889
|
6
6
|
skinoptics/refractive_index.py,sha256=H6CTjbGfdUEOyGPQSwQiH018exvdpq8-XuKJmpufUfU,14553
|
7
7
|
skinoptics/scattering_coefficient.py,sha256=WNwJOWgBkihIEcREvSVVZK-AiDhqw5_amhxjrMJcOb0,15217
|
@@ -39,8 +39,8 @@ skinoptics/datasets/optical_properties/oxy_and_deo_Bosschaart.txt,sha256=eF96Ao4
|
|
39
39
|
skinoptics/datasets/spectra/Lu2025/ISSA_17_Jan_2025_Yan_Lu.xlsx,sha256=c5aqdgjxpvkexwv4-EISUqnYH3GivKBm636YFVudEWE,9320520
|
40
40
|
skinoptics/datasets/spectra/Xiao2016/skindatabaseSpectra/readmeSpectra.docx,sha256=ren4htGe154BIlBridkvBvbc8AYY1RRmp4CVICYwDvc,15147
|
41
41
|
skinoptics/datasets/spectra/Xiao2016/skindatabaseSpectra/skin_spectra_data.xlsx,sha256=z7shS1rZzqpaRGi_Ji0nYcSzIxEmADQOtaJ_Uwcotcc,1434709
|
42
|
-
skinoptics-0.0.
|
43
|
-
skinoptics-0.0.
|
44
|
-
skinoptics-0.0.
|
45
|
-
skinoptics-0.0.
|
46
|
-
skinoptics-0.0.
|
42
|
+
skinoptics-0.0.8.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
43
|
+
skinoptics-0.0.8.dist-info/METADATA,sha256=iH_CXvMTM80uQzku7zchhM5dmFHzhh3Ez136nH5U71A,1288
|
44
|
+
skinoptics-0.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
45
|
+
skinoptics-0.0.8.dist-info/top_level.txt,sha256=4NYJW3uliYlvbd-Zywg2MxJOGe4wYA7Oz_I5EZF4YEQ,11
|
46
|
+
skinoptics-0.0.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|