Esempio n. 1
0
def readdos():
    datapath = os.path.join(
        os.path.dirname(__file__), '../data/UN-N-dos.dat'
        )
    from multiphonon.dos import io
    E, Z, error = io.fromascii(datapath)
    return E,Z
Esempio n. 2
0
def loadDOS():
    f = os.path.join(datadir, 'V-dos.dat')
    from multiphonon.dos import io
    E, Z, error = io.fromascii(f)
    from multiphonon.dos.nice import nice_dos
    E,g = nice_dos(E, Z)
    return E,g
Esempio n. 3
0
def loadDOS():
    f = os.path.join(datadir, 'V-dos.dat')
    from multiphonon.dos import io
    E, Z, error = io.fromascii(f)
    from multiphonon.dos.nice import nice_dos
    E, g = nice_dos(E, Z)
    return E, g