Skip to main content

A library devloped under the project AMBHAS

Project description

This is a package/library in python developed under the project AMBHAS. This has various module like: copula, errlib etc.

Installing ambhas

Installing ambhas can be done by downloading source file (ambhas–<version>.tar.gz), and after unpacking issuing the command:

python setup.py install

This requires the usual Distutils options available.

Or, download the ambhas–<version>.tar.gz file and issue the command:

pip install /path/to/ambhas--<version>.tar.gz

Or, directly using the pip:

pip install ambhas

Usage

Import required modules:

import numpy as np
from ambhas.errlib import rmse, correlation

Generate some random numbers:

x = np.random.normal(size=100)
y = np.random.normal(size=100)
rmse(x,y)
correlation(x,y)

For using the copula, import copula:

import numpy as np
from ambhas.copula import Copula

Generate some random numbers:

x = np.random.normal(size=100)
y = np.random.normal(size=100)

Generate an instance of class copula:

foo = Copula(x, y, 'frank')

Now, generate some ensemble using this instance:

u,v = foo.generate(100)

Changelog

0.0.0 (July 2011)

  • Initial release

0.0.1 (Nov 2011)

  • a new sublibrary ‘krig’ added

0.0.2 (Nov 2011)

  • a new sublibrary ‘sunlib’ added

0.0.3 (Nov 2011)

  • A new sub-library added to deal with reading and writting the xls data. This library is based on ‘xlrd’ and ‘xlwt’, and provide an easier way to read and write the data.

Documentation

Examples of using this library are provided in the book, ‘Python in Hydrology’ by Sat Kumar Tomer. The books is available for free to download from the website of AMBHAS.

Any questions/comments

If you have any comment/suggestion/question, please feel free to write me at satkumartomer@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambhas-0.0.3.tar.gz (22.5 kB view details)

Uploaded Source

Built Distributions

ambhas-0.0.3.linux-x86_64.tar.gz (30.2 kB view details)

Uploaded Source

ambhas-0.0.3.linux-x86_64.exe (80.3 kB view details)

Uploaded Source

File details

Details for the file ambhas-0.0.3.tar.gz.

File metadata

  • Download URL: ambhas-0.0.3.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ambhas-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2ed52e6a33ab0095484690b47288b2e65c82ccc1b510d22a7ccdc8df73a092ab
MD5 b1335e36ea2a911f15f074e8d81b353c
BLAKE2b-256 8aab4678be8f4f71e7840371645eff0272d11de9a6cf2d756199e3b8ded169ea

See more details on using hashes here.

File details

Details for the file ambhas-0.0.3.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for ambhas-0.0.3.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 06d7b6034cefcd03cafd918bbb67afc46f8987af3c713254fe52400fcb8fe695
MD5 f04c7ea08859494227b121d89b245a2b
BLAKE2b-256 726633ff387dedab87236da7f2123fe46198d7e414b67624e9daabfb64285b98

See more details on using hashes here.

File details

Details for the file ambhas-0.0.3.linux-x86_64.exe.

File metadata

File hashes

Hashes for ambhas-0.0.3.linux-x86_64.exe
Algorithm Hash digest
SHA256 647f002391fb6ccbaece3a015aa7f73226c264b77db8ce7824a0128e583631f7
MD5 876f250ec5bfd8cef529bb144125acd6
BLAKE2b-256 76c5211666f9e07c16b2217ec055846a6d15e08414cfc71e83de285b9f0bc155

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page