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.

0.0.4 (Nov 2011)

  • A new sub-library added for a simple groundwater model

0.0.5 (Nov 2011)

  • NS coefficiente replaces by L in groundwater model

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.5.tar.gz (23.5 kB view details)

Uploaded Source

Built Distributions

ambhas-0.0.5.linux-x86_64.tar.gz (32.3 kB view details)

Uploaded Source

ambhas-0.0.5.linux-x86_64.exe (82.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ambhas-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a7ddd61c124c2a33da69625ffa9a31a03a83f1a70e39be29db2b490e64f17fab
MD5 8f4f05ab61dec91ca841d8130d0ac16a
BLAKE2b-256 3cbe91d0c5f6c5e152de29c6f4f5149d8d6d1cde0ecc1228e9873e9350de4f82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ambhas-0.0.5.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 c58a694e8e892357260666caa71a48fef178b3a4adb8c165a3cdbefd20c419af
MD5 9fbc943db33dd08ae53f137272f8f7f7
BLAKE2b-256 db29e3d9d1dc49ec6ba7e2fdbf7a54e4b939a113f492017ab2affff42bd58d1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ambhas-0.0.5.linux-x86_64.exe
Algorithm Hash digest
SHA256 45a6fbe0278259e52e0ec5ecde6115b04135cb1f007edaf49a402ca78083e870
MD5 a088f889cd78080fcc9e5ac73ae75102
BLAKE2b-256 f29341d6435c5117eaa4e2f7c7f8ad6d488554ffbc218b5245aad5ca3f952a09

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