Skip to main content

A library devloped under the project AMBHAS

Project description

<nav class="contents" id="contents" role="doc-toc">

Contents

</nav>

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)

Author

Sat Kumar Tomer satkumartomer at gmail dot com

Changes

0.1.0 * Initial version

0.1.1 * Minor corrections in setup.py files

0.2.0 * few packages added

0.3.0 * groundwater, sun_rise_set, soil texture module, etc. added

0.3.1 * manifest.in file edited

0.4.0 extract_gis_data, richards, risat added

License

Please read LICENSE.text available with the library.

Download

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.4.0.tar.gz (605.4 kB view hashes)

Uploaded source

Built Distribution

ambhas-0.4.0-py2.7.egg (128.5 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page