Skip to content

Conceptual problem of summing dispersions and refractive index #110

@domna

Description

@domna

Problem: It is mathematically not allowed to sum dispersions if there is a conversion from n to eps somewhere, because
$$(n_1 + n_2)^2 \neq n_1^2 + n_2^2$$, the same applies for combinations for eps and n, where the situation is even more complicated since we cannot convert because either a part of n or eps is unknown due to a representation in the other imaginary plane.

Solution:

  • Only allow adding of dispersions if they are natively written in eps.
  • Add a flag to the dispersions whether they are represented in refr index or diel function and allow adding of refr index + conversion in DispersionSum

Follow up issue:

  • Find out if there is a possible mathematical relation to add n and eps (kkr?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions