Git Product home page Git Product logo

spsim's People

Contributors

daurer avatar filipemaia avatar kartikayyer avatar mhantke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spsim's Issues

Compiling with NFFT 3.2.4

Hi,

I just tried to compile spsim with NFFT and run into errors in src/diffraction.c

There are a few typos where it says 'nnfft__' that likely should read 'nfft__'.

However, I corrected those on my source but I run into new errors:
/Users/Max/spsim/src/diffraction.c:613:4: error: no member named 'v' in 'nfft_plan'
p.v[k_3] = HKL_list[k_3]/max_v[0];
~ ^
/Users/Max/spsim/src/diffraction.c:614:4: error: no member named 'v' in 'nfft_plan'
p.v[k_3+1] = HKL_list[k_3+1]/max_v[1];
~ ^
/Users/Max/spsim/src/diffraction.c:615:4: error: no member named 'v' in 'nfft_plan'
p.v[k_3+2] = HKL_list[k_3+2]/max_v[2];

Those, I don't really can make out.

PS: it does compile without nfft...

Cannot write to CXI file with newest libspimage

I noticed that spsim does not work any more from the webpage. The reason was that libspimage was changed such that writing to file causes an error:

libspimage: warning: Unable to open noiseless_photon_out-00000.cxi in /root/src/libspimage/src/image_io.c:2224
libspimage: warning: Unable to open scattering_factors-00000.cxi in /root/src/libspimage/src/image_io.c:2224
libspimage: warning: Unable to open real_space-00000.cxi in /root/src/libspimage/src/image_io.c:2224

After I checked out libspimage commit a54d90a721bae71b4f1c22b1eba2e333b78243b9 and built spsim against that version everything worked again.

pdb convert bug

At line 304 of molecule.c, the rank of legal_atom_names should be 2*(mol->atomic_number[i]-1), not mol->atomic_number[i]-1, since each atom is represented by 2 characters.

Wrong element retrieval from PDB

When using the function get_Molecule_from_pdb for PDB entry 1GRO the function wrongly identifies some Hydrogens for Heliums. We are using the atom entry (columns 13-16). These can be modified and element assignment may be ambiguous. I suggest to use the information of the element entry (columns 77-78) instead.

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.