Giter VIP home page Giter VIP logo

ptsa_new's Introduction

PTSA

image

image

image

For documentation and tutorials, please see https://pennmem.github.io/ptsa_new/

Install via conda

Available on Linux, Mac, and Windows 64 bit:

conda install -c pennmem ptsa

Report bug or feature request

To report a bug or a feature request please use https://github.com/pennmem/ptsa_new/issues.

Build from source

Install dependencies:

conda install -y numpy scipy xarray pywavelets swig

You can also optionally install FFTW. If it is not found, PTSA ships with a copy of it and will automatically compile it. To install FFTW with conda on Linux or Mac:

conda install -y -c conda-forge fftw=3.3.4

Alternatively, it can be installed with the system package manager on Linux (Debian-based command shown below):

sudo apt-get install libfftw3-dev

or on Mac using homebrew:

brew install fftw

Install PTSA:

python setup.py install

Building conda packages

Before we begin building conda PTSA packages we need to set the PYTHON_BUILD_NUMBER system variable. For example, if we are building PTSA conda package for Python 2.7 we set PYTHON_BUILD_NUMBER to be 2.7. On linux you do it via

export PYTHON_BUILD_VERSION=2.7

on Windows:

set PYTHON_BUILD_VERSION=2.7

Next, in the root conda environment, install conda-build:

conda install conda-build

Update the version number in conda.recipe/meta.yaml.

Build packages with:

conda build conda.recipe

To allow uploads you need to install anaconda-client:

conda install anaconda-client

After that installing anaconda-client you need to to provide your anaconda.io login credentials:

anaconda login

At this point you will be ready to upload newly built conda PTSA packages. After the build is successfully completed you go to the directory where package tarballs have been generated and type:

anaconda upload --user pennmem ./ptsa-*.tar.bz2

Hint: conda packages will be most likely generated in <conda installation dir>/conda-bld/<architecture_folder> where <architecture folder> denotes name of the arget architecture for which conda package was build. e.g. on 64-bit Windows the architecture folder will be called win-64 (hence conda packages will be generated in <conda installation dir>/conda-bld/win-64

License

PTSA is licensed under the GNU GPL version 3.

This repository also includes:

ptsa_new's People

Contributors

maciekswat avatar psederberg avatar mivade avatar ariel215 avatar ctw avatar isaac-ped avatar busygin avatar zduey avatar

Watchers

 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.