Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Copyright (c) 2016-2018 Jeremie DECOCK (www.jdhp.org)

Description

PyWI-CTA is a ctapipe wrapper for PyWI.

Note:

This project is in beta stage.

Dependencies

PyWI has the following strict requirements:

PyWI also depends on other packages for optional features:

However, note that these only need to be installed if those particular features are needed. PyWI will import even if these dependencies are not installed.

Installation

Using pip

Most major projects upload official packages to the Python Package Index. They can be installed on most operating systems using Python standard pip package manager.

Note that you need to have Python3.x and pip already installed on your system.

On MacOSX and Gnu/Linux

You can install PyWI using the following command (in a terminal):

pip install pywicta --no-deps

As an alternative, you can install PyWI from the downloaded source code:

python3 setup.py install --no-deps

If PyWI is already installed on your system you can upgrade it with this command:

pip install --upgrade pywicta

To uninstall PyWI, type:

pip uninstall pywicta

On Windows

You can install PyWI using the following command (in a command prompt):

py -m pip install pywicta --no-deps

As an alternative, you can install PyWI from the downloaded source code:

py setup.py install --no-deps

If PyWI is already installed on your system you can upgrade it with this command:

py -m pip install --upgrade pywicta

To uninstall PyWI, type:

py -m uninstall pywicta

Using conda

To install this package with conda run in a terminal:

conda install -c jdhp pywicta

So far, the PyWI Anaconda package is only available for MacOSX. A package for Linux and Windows will be available soon.

Cosmostat iSAP Sparce2D installation

  1. Download http://www.cosmostat.org/wp-content/uploads/2014/12/ISAP_V3.1.tgz (see http://www.cosmostat.org/software/isap/)

  2. Unzip this archive, go to the “sparse2d” directory and compile the sparse2d library. It should generate two executables named mr_transform and mr_filter:

    tar -xzvf ISAP_V3.1.tgz
    cd ISAP_V3.1/cxx
    tar -xzvf sparse2d_V1.1.tgz
    cd sparse2d
    compile the content of this directory

An automated compilation and installation script for Linux is available there (author: Tino Michael).

Example

  1. Get a simtel file (e.g. from there)

  2. In your system terminal, from the directory that contains the sample image, type the following commands (where SIMTEL_FILE is the path to your simtel file):

    pywicta-mrtransform -f common_hard_filtering -t 13.,1.5 -L mask --camid LSTCam --max-images 1 --plot SIMTEL_FILE
    pywicta-mrfilter -K -k -C1 -m3 -n4 -s2,4.5,3.5,3 --kill-isolated-pixels --camid LSTCam --max-images 1 --plot SIMTEL_FILE
  3. Type pywicta-mrtransform -h or pywicta-mrfilter -h to display the list of available options and their documentation.

IPython/Jupyter Notebooks

PyWI provide some Jupyter notebooks that can be used as examples or tutorials.

Bug reports

To search for bugs or report them, please use the PyWI Bug Tracker at:

https://github.com/jeremiedecock/pywi-cta/issues

Release files for pywicta 0.1.dev18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywicta 0.1.dev18
File Size Uploaded
pywicta-0.1.dev18.tar.gz 124.5 kB Details

Release files / pywicta-0.1.dev18.tar.gz

Download URL pywicta-0.1.dev18.tar.gz
Size 124.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf03b67a3ab4ffb6a5c0e504e38309cb1f2d311517bb82f8b60e8146f680f2e
BLAKE2b-256 checksum
How to use checksums
dd69dd1fe2b45b1336f19c01b6b8f36d3ea7013618d2c244f62743bd4c27c1f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page