GTPhPixelStructure
  • See Also
    • GTPhDCPixel
    • GTPhMaster
    • GTPhMasterEquation
    • GTPhMasterObjects
    • GTPhMasterPixel
    • GTPhPermittivity
    • GTPhPermittivityMatrix
    • GTPhPixelSmooth
    • GTPhShowStructure
  • Related Guides
    • Photonics
    • The Mathematica Group Theory Package GTPack, V 1.4
    • See Also
      • GTPhDCPixel
      • GTPhMaster
      • GTPhMasterEquation
      • GTPhMasterObjects
      • GTPhMasterPixel
      • GTPhPermittivity
      • GTPhPermittivityMatrix
      • GTPhPixelSmooth
      • GTPhShowStructure
    • Related Guides
      • Photonics
      • The Mathematica Group Theory Package GTPack, V 1.4

GTPhPixelStructure[pixel map,modification,structure]

allows to perform a modification of the permittivity distribution defined by a pixel map in the unit cell of a given structure.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
GOColorscheme  
GOPlot  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTPhDCPixel
    • GTPhMaster
    • GTPhMasterEquation
    • GTPhMasterObjects
    • GTPhMasterPixel
    • GTPhPermittivity
    • GTPhPermittivityMatrix
    • GTPhPixelSmooth
    • GTPhShowStructure
  • Related Guides
    • Photonics
    • The Mathematica Group Theory Package GTPack, V 1.4
    • See Also
      • GTPhDCPixel
      • GTPhMaster
      • GTPhMasterEquation
      • GTPhMasterObjects
      • GTPhMasterPixel
      • GTPhPermittivity
      • GTPhPermittivityMatrix
      • GTPhPixelSmooth
      • GTPhShowStructure
    • Related Guides
      • Photonics
      • The Mathematica Group Theory Package GTPack, V 1.4
GroupTheory`
GroupTheory`

GTPhPixelStructure

GTPhPixelStructure[pixel map,modification,structure]

allows to perform a modification of the permittivity distribution defined by a pixel map in the unit cell of a given structure.

Details and Options

  • The permittivity in the unit cell of a two-dimensional structure can be defined by an arrangement of geometric objects of given permittivity, or it is defined in a pixelwise manner. The pixel map is an matrix and defines the subdevision of the unit cell. The entry defines the permittivity of the pixel .
  • The list modification allows the modification of a given pixel map:
  • modification =
  • The list structure defines the structure of the unit cell:
  • structure =
  • and are the side lengths and is the angle enclosed by the two sides.
  • The following options can be given:
  • GOColorScheme"PearlColors"Defines the color scheme
    GOPlot TruePlots the modified structure
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 10.4

Examples

open all close all

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

A permittivity map is defined.

Wolfram Language code: map = {{1, 1, 1, 1}, {1, 12, 12, 1}, {1, 12, 12, 1}, {1, 1, 1, 1}};

The unit cell is a square, i.e.

Wolfram Language code: struct = {1, 1, π / 2};

The structure is plotted. There is no modification defined.

Wolfram Language code: GTPhPixelStructure[map, {}, struct]

With a modification list the permittivity can be changed for certain pixels.

Wolfram Language code: mod = {{2, 2, 5}, {3, 3, 7}};
Wolfram Language code: GTPhPixelStructure[map, mod, struct]

The structure of the unit cell can be modified easily.

Wolfram Language code: struct = {1, 2, π / 6};GTPhPixelStructure[map, mod, struct]

Options  (2)

GOColorscheme  (1)

Color Schemes can be selected from Mathematica’s Palette.

Wolfram Language code: map = Table[1, {20}, {20}]; Do[ Do[ If[i ≥ 5 && i ≤ 15 && j ≥ 5 && j ≤ 15, map[[i, j]] = 13, None] , {j, 1, 20}] , {i, 1, 20}] mod = {{4, 9, 2}, {4, 10, 5}, {4, 11, 10}}; struct = {1, 1, π / 2};GTPhPixelStructure[map, mod, struct, GOColorScheme -> "GrayTones"]

GOPlot  (1)

Usually the command is used to check the defined permittivity distribution in the unit cell.

Wolfram Language code: map = Table[1, {20}, {20}]; Do[ Do[ If[i ≥ 5 && i ≤ 15 && j ≥ 5 && j ≤ 15, map[[i, j]] = 13, None] , {j, 1, 20}] , {i, 1, 20}]
Wolfram Language code: struct = {1, 1, π / 2};GTPhPixelStructure[map, {}, struct, GOPlot -> True]

If a modification is defined, it shoud be checked first:

Wolfram Language code: mod = {{4, 9, 2}, {4, 10, 5}, {4, 11, 10}};GTPhPixelStructure[map, mod, struct, GOPlot -> True]

The new permittivity distribution is exported.

Wolfram Language code: epsnew = GTPhPixelStructure[map, mod, struct, GOPlot -> False]

See Also

GTPhDCPixel  GTPhMaster  GTPhMasterEquation  GTPhMasterObjects  GTPhMasterPixel  GTPhPermittivity  GTPhPermittivityMatrix  GTPhPixelSmooth  GTPhShowStructure

Related Guides

    ▪
  • Photonics
  • ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
Not Found - Wolfram Cloud