BRDF of a material with isotropic phase function

From PlanarRad
Revision as of 15:42, 23 February 2014 by John (talk | contribs)
Jump to navigation Jump to search

This example shows how to model the bidirectional reflectance distribution function (BRDF) of a material for which the extinction and absorption co-efficients are known and we can assume the phase function is isotropic. We are interested in slab of this material that is sufficiently thick that whatever is underneath it has negligible effect on its reflectance, i.e. you can't see through it. In fact we can will work out how thick that needs to be in the analysis.

The example uses the Windows version of PlanarRad. It will involve working with a few text files for which you can use Wordpad. In general Notepad does not work because (I think) it doesn't handle the Unix-style line endings. However I strongly recommend using Notepad++ for working with text files under Windows, and that is what the screenshots here are taken from.

Step 1 : Set up single band run

We will be working with a single wavelength so we need to set up a small band specification file to specify this. Create a text file called 'bands1.bsf', or alternatively edit 'bands17.bsf' that can be found in the 'planarrad_test04' directory. Make it look like this:

Error creating thumbnail: Unable to save thumbnail to destination


A few notes of explanation:

  • bs_name - this is what will appear in PlanarRad to refer to this band specification.
  • bs_code - this will be appended onto the name of some automatically generated files.
  • band_count - the number of bands.
  • band_widths_data - a comma separated list of the widths of the bands in nanometeres.
  • band_centres_data - a comma separated list of the centre wavelengths if the bands in nanometres.
  • preferred_default - if 'yes' the PlanarRad GUI will offer this band specification as the default.

Note that although we have specified the band as centred at 500 nm and being 10 nm wide, this is irrelevant in what follows because we will be manually setting all the optical properties for a single wavelength run. Nowhere in the model will '500 nm' actually be used in any calculation, and so this same procedure and the same 'bands1.bsf' file can be used for runs at any wavelength.

Now create new folder called 'testslab' (or whatever) and save 'bands1.bsf' in it.

Error creating thumbnail: Unable to save thumbnail to destination


Now run PlanarRad and from the menus choose 'File > Change current working directory' and select the 'testslab' directory that contains the band specification file. You should see that 'Bands:' under the 'Model' tab changes to '1 Band (500 nm)'. I.e. it should look like this:

Error creating thumbnail: Unable to save thumbnail to destination


Step 2 : Be aware of the directional discretisation in use

The selected entry under 'Directional Structure:' of 'HL Standard' means that PlanarRad will decompose the sphere of all directions into segments or 'quads' in the same way that HydroLight does. This means a hemispher is split into 9 by 24 segments of constant zenith and azimuth angle, as below.

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination