Пример #1
0
    34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
        34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
            34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                    34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(
                        11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
                            34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(
                                11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | air

# Loading data

pth = os.getcwd()
PLP = Platypus()
print(os.path.join(pth, r'superlattice\Triple5data\T5unpol.dat'))
probe = PLP.load(
    r'C:\Users\oliver\OneDrive - UNSW\code\jackson_superlattice\superlattice\Triple5data\T5unpol\OP_diff-ev\T5unpol.dat'
)

# Fitting parameters
'''
threelayer[0].thickness.pmp(1)
threelayer[1].thickness.pmp(5)
onelayer[0].thickness.pmp(1)
onelayer[1].thickness.pmp(5)
threelayer[0].interface.range(0,1)
threelayer[1].interface.range(0,1)
onelayer[0].interface.range(0,1)
onelayer[1].interface.range(0,1)
Rtriple5Model[0].interface.range(0,1)
Rtriple5Model[1].interface.range(0,1)
Rtriple5Model[2].interface.range(0,1)
Пример #2
0
import os.path
from numpy.testing import assert_equal, assert_almost_equal

from refl1d.anstodata import Platypus

# path to the test file
pth = os.path.dirname(__file__)

PLP = Platypus()
probe = PLP.load(os.path.join(pth, 'c_PLP0000708.dat'))

assert_equal(probe.Q.size, 90)
assert_almost_equal(probe.dQ[0], 0.000319677 / 2.3548)
Пример #3
0
        34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
            34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                    34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(
                        11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
                            34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(
                                11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | air

# Loading data

pth = os.getcwd()
PLP = Platypus()

probe = PLP.load(
    os.path.join(
        pth,
        r'C:\Users\Jackson\Desktop\a\superlattice\program\Jackson\Triple5data\T5unpol\T5unpol.dat'
    ))

# Fitting parameters

threelayer[0].thickness.pmp(1)
threelayer[1].thickness.pmp(5)
onelayer[0].thickness.pmp(1)
onelayer[1].thickness.pmp(5)
threelayer[0].interface.range(0, 1)
threelayer[1].interface.range(0, 1)
onelayer[0].interface.range(0, 1)
onelayer[1].interface.range(0, 1)
Rtriple5Model[0].interface.range(0, 1)
Rtriple5Model[1].interface.range(0, 1)
Пример #4
0
Ftriple5Model = STO(0, 1.5) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
    34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
        34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
            34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(3.85, 2) | LSMO(
                    34.1, 2) | LNO(3.85, 2) | LSMO(34.1, 2) | LNO(
                        11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | LSMO(
                            34.1, 2) | LNO(11.5, 2) | LSMO(34.1, 2) | LNO(
                                11.5, 2) | LSMO(34.1, 2) | LNO(11.5, 2) | air

# Loading data

pth = os.getcwd()
PLP = Platypus()

probe = PLP.load(os.path.join(pth, 'T5unpol.dat'))

# Fitting parameters
'''
threelayer[0].thickness.pmp(1)
threelayer[1].thickness.pmp(5)
onelayer[0].thickness.pmp(1)
onelayer[1].thickness.pmp(5)
threelayer[0].interface.range(0,1)
threelayer[1].interface.range(0,1)
onelayer[0].interface.range(0,1)
onelayer[1].interface.range(0,1)
Rtriple5Model[0].interface.range(0,1)
Rtriple5Model[1].interface.range(0,1)
Rtriple5Model[2].interface.range(0,1)
Rtriple5Model[3].interface.range(0,1)