Git Product home page Git Product logo

pymsz's Introduction

README

Please note that PyMSZ is still in developing mode.

What is this repository for?

  • This package provides theoretical views of SZ y-map from both thermal and kinetic effects for hydrodynamical simulations. This package also uses the SZpack to generate observed SZ signals at any frequency from hydrodynamical simulations.
  • It requires yt installed if you want to use yt to load and analysis the simulation data.
  • current version beta

How do I get set up?

  • Summary of set up

    This package includes SZPack v1.1.1 library. It requires gsl (with headers files) and swig installed in your system for building this library. It is very easy with sudo apt-get install libgsl23 libgsl-dev swig python-dev You may need manually link the libgsl.so.0 (sudo ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23.0.0 /usr/lib/x86_64-linux-gnu/libgsl.so.0) to solve the ImportError: libgsl.so.0: cannot open shared object file: No such file or directory

    Note for python3: You may first need to install python3-dev. If you don't have the symbol link python to python3, go to the folder cd pymsz/SZpacklib/python/ and modify the 'Makefile' by replacing 'python' with 'python3'. Then go back to the pymsz folder cd ../../../ and run python3 setup.py install --user.

  • Configuration

    look at the wiki page for a simple test script. The functions inside this package are always documented.

  • Dependencies

    numpy, scipy, astropy. SZpack requires gsl and swig

  • How to run tests

  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Please report any issue to Weiguang Cui: [email protected].
  • Or report a bug through issues.

acknowledgement

Please cite the relative papers when you use the code: for theoretical kinetic SZ effects, (please cite Baldi et al. 2018; for theoretical thermal SZ effects, (please cite Cui et al. 2018; for mock SZ-signals at any frequency, (please cite Chluba et al. 2012 & 2013)

Temporary Notes

  • The loaded simulation data has a radius of 2 x set radius, because the data has to be projected in a cylinder. Thus, I make a cut in line of sight direction later before the calculation of theoretical y-map.
  • The TK_model needs updates with the latest modifications. to be done.

pymsz's People

Contributors

weiguangcui avatar

Watchers

Reaves avatar

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.