manodeep / genpk Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sbird/genpk
Program for finding the matter power spectrum from Gadget format files. Uses FFTW3 and GadgetReader.
This project forked from sbird/genpk
Program for finding the matter power spectrum from Gadget format files. Uses FFTW3 and GadgetReader.
==GenPK== This is GenPK, a program to calculate the 3D matter power spectrum. To build, first make sure FFTW3 is installed on your system and that the headers are in your PATH. To build, type: make For the test suite (requires Boost::Test > 1.34), do: make test To run, do: ./gen-pk -i filename -o outputdir filename can be any Gadget snapshot, with or without the .o, in format I or II. For the doxygen-generated documentation, do: make doc To delete compiler output: make clean Further documentation may be found in the doxygen generated files in doc/html/index.html (type "make doc" to make this file), by typing ./gen-pk --help or in gen-pk.cpp Powerspectrum output is in Fourier units; to convert to, eg, Mpc/h, you should multiply k by 2 \pi / Boxsize and P(k) by (Boxsize/2\pi)^3, where Boxsize is the size of the box in Mpc/h. In addition, CAMB uses a different Fourier convention to FFTW (which GenPK is based on), so for comparison to CAMB you need to also multiply P(k) by (2\pi) ^3. The total conversion factors are then k *= 2\pi / Boxsize P(k) *= Boxsize ^3 If you use this software in a paper, you can cite it via the ASCL: http://ascl.net/1706.006
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.