@@ -39,7 +39,11 @@ def _min_zero_cos(a: u.physical.angle) -> u.Quantity:
39
39
return np .maximum (x , 0 )
40
40
41
41
@abstractmethod
42
- def absorptance (self , i : u .physical .angle ) -> u .Quantity :
42
+ def absorbed_radiance (
43
+ self ,
44
+ F_i : SpectralFluxDensityQuantity ,
45
+ i : u .physical .angle ,
46
+ ) -> u .Quantity :
43
47
r"""Absorption of incident light.
44
48
45
49
The surface is illuminated by incident flux density, :math:`F_i`, at an
@@ -48,6 +52,9 @@ def absorptance(self, i: u.physical.angle) -> u.Quantity:
48
52
49
53
Parameters
50
54
----------
55
+ F_i : `astropy.units.Quantity`
56
+ Incident light (spectral flux density).
57
+
51
58
i : `~astropy.units.Quantity`
52
59
Angle from normal of incident light.
53
60
@@ -60,7 +67,12 @@ def absorptance(self, i: u.physical.angle) -> u.Quantity:
60
67
"""
61
68
62
69
@abstractmethod
63
- def emittance (self , e : u .physical .angle , phi : u .physical .angle ) -> u .Quantity :
70
+ def emitted_radiance (
71
+ self ,
72
+ F_e : SpectralFluxDensityQuantity ,
73
+ e : u .physical .angle ,
74
+ phi : u .physical .angle ,
75
+ ) -> u .Quantity :
64
76
r"""Emission of light.
65
77
66
78
The surface is observed at an angle of :math:`e`, measured from the
@@ -69,8 +81,11 @@ def emittance(self, e: u.physical.angle, phi: u.physical.angle) -> u.Quantity:
69
81
70
82
Parameters
71
83
----------
84
+ F_e : `astropy.units.Quantity`
85
+ Spectral emittance (spectral flux density).
86
+
72
87
e : `~astropy.units.Quantity`
73
- Angle from normal of emitted light .
88
+ Observed angle from normal.
74
89
75
90
phi : `~astropy.units.Quantity`
76
91
Source-target-observer (phase) angle.
@@ -96,36 +111,6 @@ def reflectance(
96
111
emitted light are assumed to be collimated.
97
112
98
113
99
- Parameters
100
- ----------
101
- i : `~astropy.units.Quantity`
102
- Angle from normal of incident light.
103
-
104
- e : `~astropy.units.Quantity`
105
- Angle from normal of emitted light.
106
-
107
- phi : `~astropy.units.Quantity`
108
- Source-target-observer (phase) angle.
109
-
110
-
111
- Returns
112
- -------
113
- r : `~astropy.units.Quantity`
114
- Surface reflectance.
115
-
116
- """
117
-
118
- @abstractmethod
119
- def radiance (
120
- self ,
121
- F_i : SpectralFluxDensityQuantity ,
122
- i : u .physical .angle ,
123
- e : u .physical .angle ,
124
- phi : u .physical .angle ,
125
- ) -> u .Quantity :
126
- """Observed radiance from a surface.
127
-
128
-
129
114
Parameters
130
115
----------
131
116
F_i : `astropy.units.Quantity`
@@ -143,8 +128,8 @@ def radiance(
143
128
144
129
Returns
145
130
-------
146
- radiance : `~astropy.units.Quantity`
147
- Observed radiance .
131
+ r : `~astropy.units.Quantity`
132
+ Surface reflectance .
148
133
149
134
"""
150
135
@@ -165,14 +150,14 @@ def _vectors_to_angles(
165
150
return i , e , phi
166
151
167
152
@u .quantity_input
168
- def radiance_from_vectors (
153
+ def reflectance_from_vectors (
169
154
self ,
170
155
F_i : SpectralFluxDensityQuantity ,
171
156
n : np .ndarray ,
172
157
rs : u .physical .length ,
173
158
ro : np .ndarray ,
174
159
) -> u .Quantity :
175
- """Observed radiance from a surface with geometry defined by vectors .
160
+ """Vector based alternative to reflectance() .
176
161
177
162
Input vectors do not need to be normalized.
178
163
@@ -194,9 +179,9 @@ def radiance_from_vectors(
194
179
195
180
Returns
196
181
-------
197
- radiance : `~astropy.units.Quantity`
198
- Observed radiance .
182
+ reflectance : `~astropy.units.Quantity`
183
+ Reflectance .
199
184
200
185
"""
201
186
202
- return self .radiance (F_i , * self ._vectors_to_angles (n , rs , ro ))
187
+ return self .reflectance (F_i , * self ._vectors_to_angles (n , rs , ro ))
0 commit comments