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
Beispiel #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
Beispiel #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