Feature #1715

Feature #1290: === Core: framework ===

Envelope task #1566: == API changes ==

start sample construction with SlabSample() or FilmSample()

Added by wuttke over 3 years ago. Updated almost 3 years ago.

Status:RejectedStart date:02 Dec 2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The semi-infinite bottom and top layers are special. This should be reflected in the API.

Instead of

    air_layer = ba.Layer(m_ambience)
    substrate_layer = ba.Layer(m_substrate)
    multi_layer = ba.MultiLayer()
    multi_layer.addLayer(air_layer)
    multi_layer.addLayer(substrate_layer)

we could have
    multi_layer = ba.FilmSample(m_ambience, m_substrate)

or simply
    sample = ba.FilmSample(m_ambience, m_substrate)
.
For a SAS sample without substrate, instead of
    air_layer = ba.Layer(m_ambience)
    multi_layer = ba.MultiLayer()
    multi_layer.addLayer(air_layer)

we would have
    sample = ba.SlabSample(m_ambience)

History

#1 Updated by pospelov almost 3 years ago

  • Status changed from New to Rejected

Rejected, see #1823

Also available in: Atom PDF