Coder Social home page Coder Social logo

szpack_wrapper's Introduction

A high-level wrapper for SZpack.

Powered by Astropy Badge

This package provides some high-level functions to work with SZpack developed by J. Chluba and Eric R. Switzer.

SZpack License

The license section from the README file of the SZpack.v1.1.1 tarball:

//==================================================================================================
// LICENCE:
//
// This code and all contained libraries and subroutines can be used free of charge provided that:
//
// (i) their use will be acknowledged in publications
//
// (ii) the paper of
//
//      Chluba, Nagai, Sazonov, Nelson, MNRAS, 2012 (arXiv:1205.5778)
//      Chluba, Switzer, Nagai, Nelson, 2012, arXiv:1211.3206
//
//  will be cited, and the following papers are considered for citation:
//      
//      Sazonov & Sunyaev, ApJ, 1998
//      Challinor & Lasenby, ApJ, 1998
//      Itoh et al., ApJ, 1998
//      Nozawa et al. ApJ, 1998 
//      Nozawa et al. Nuovo Cimento B Series, 2006
//
// (iii) bugs will be immediately reported to [email protected]
//
//==================================================================================================

Installation

The SZpack depends on the GNU Scientific Library (GSL), which has to be installed and made available in the environment.

The low level python interface comes along with SZPack also depends on SWIG. Please refer to the documentation for how to install.

To install szpack_wrapper,

$ gsl-config --version  # check that GSL is installed
2.6
$ which swig  # check that swig is installed
/usr/local/bin/swig
$ pip install git+https://github.com/toltec-astro/szpack_wrapper

Behind the scene, the SZpack v1.1.1 is bundled with this package in the szpack_wrapper/extern folder, and an accompanying setup_package.py file is used to leverage the extension-helpers to build the code as a C extension.

SZpackWrapper License

This project is Copyright (c) Zhiyuan Ma and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause license. See the licenses folder for more information.

szpack_wrapper's People

Contributors

jerry-ma avatar

Watchers

 avatar  avatar  avatar

Forkers

edoaltamura

szpack_wrapper's Issues

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.