示例#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
示例#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
示例#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