Coder Social home page Coder Social logo

sf's Introduction

### Spectral Function package
### Written by Matteo Guzzo
### NO WARRANTY WHATSOEVER!!!
### Written for python 2.7
### Requires scitools, numpy, matplotlib, 
### f2py, gfortran
### Tested on Ubuntu 12.04
#################################################
Before using the program, 
one should execute the 
bash script 'compile_and_link.sh'.
The script 'cleanup.sh' removes all secondary 
files created during compilation, linking and 
testing, reverting to a clean source 
(a.k.a. poor's man 'make distclean').

- Conda installation file - 
Check py2_sf.yml for a comprehensive (and possibly redundant)
list of required packages. 
This list can be used with the conda package manager
to obtain a functioning python 2 installation.

-- QUICK HOWTO --
Gather your input files (self-energy, invar.in, ...)
 -- look in the test directory for examples --
in a single directory and run 'sf.py' from there.

sf's People

Contributors

teoguso avatar mxz2013 avatar

Watchers

 avatar

sf's Issues

outread error of a abinit output

When I use the attached file as inputs in numint2 repo, it report an error as
" File "../../sf.py", line 70, in
gwout = AbinitOutReader(filename = out_file,is_sc = invar_dict['is_sc'])
File "/home/zhou/SF_Sky_git/outread/outread.py", line 449, in init
self.get_gw_qpen(i,self.nversion)
File "/home/zhou/SF_Sky_git/outread/outread.py", line 850, in get_gw_qpen
hf_k = qpen_k - sigc_k
TypeError: unsupported operand type(s) for -: 'list' and 'list'
"
But I have checked the types of qpen_k and sigc_k, they are np.array types so "-" operation should be fine. Could you please help me figure out the reason of this error?

Thank you very much!
Sky

HEG.tar.gz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.