Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

textures.rst

File metadata and controls

30 lines (21 loc) · 1.24 KB

Textures

This module is used to generate textures for interfaces (currently only for ray-tracing textures, but this could be expanded to surfaces for RCWA calculations). It contains both standard textures and functions to define your own ray-tracing textures from input coordinates.

Whether you are defining your own surface textures or using standard textures, you can pass additional arguments to these surfaces to specify surface layers, which will be treated optically using TMM. The relevant keyword arguments are:

  • interface_layers: a list of Solcore Layer objects
  • coherency_list: This is a list of the same length as interface_layers specifying which layers are coherent ("c") and which are incoherent ("i"). If not provided, all layers are assumed to be coherent.
  • name: optional; name of the interface under which the TMM lookuptable will be saved.

See here for an example of how to use this in practice.

rayflare.textures.define_textures

rayflare.textures.standard_rt_textures