helper for running different scipy 2D interpolations
Project description
SciPolate
=========
Scipolate offers a small helper class that can be used to perform
2D interpolation tasks using scipy. It is meant to be used as a common
interface to run and validate the task automated in the same way.
Installation
============
Install Scipolate using pip:
```bash
pip install scipolate
```
Note
====
Scipolate was originally a part of a interpolation web-app used in one of my
lectures. That means it was used in an API. Hence, the parameters are set in
one single JSON-like dictionary, which is un-pythonic.
For the same reason, the class does provide an output *Report* including the
result as a base64 encoded image. Nevertheless, the class can be used outside
of a web-application context. Mind that performance was not important during
development. In case you need a fast algorithm, use scipy directly, or
something like the [interpolation](https://pypi.org/project/interpolation/)
library.
With the new version the Interpolation itself is outsourced into a class on
its own. All the image processing and transformation used for the reporting
tools in my web based applications, a class called `WebInterface` is implemented.
Usage
=====
There are two main interfaces that can be used:
* The *Interpolator* class, which is the core class performing the
interpolation.
* The *WebInterface* class which is meant to be used in a API, as it takes the
arguments as JSON and returns JSON along with base64 encoded images.
Example
-------
An Example will follow.
=========
Scipolate offers a small helper class that can be used to perform
2D interpolation tasks using scipy. It is meant to be used as a common
interface to run and validate the task automated in the same way.
Installation
============
Install Scipolate using pip:
```bash
pip install scipolate
```
Note
====
Scipolate was originally a part of a interpolation web-app used in one of my
lectures. That means it was used in an API. Hence, the parameters are set in
one single JSON-like dictionary, which is un-pythonic.
For the same reason, the class does provide an output *Report* including the
result as a base64 encoded image. Nevertheless, the class can be used outside
of a web-application context. Mind that performance was not important during
development. In case you need a fast algorithm, use scipy directly, or
something like the [interpolation](https://pypi.org/project/interpolation/)
library.
With the new version the Interpolation itself is outsourced into a class on
its own. All the image processing and transformation used for the reporting
tools in my web based applications, a class called `WebInterface` is implemented.
Usage
=====
There are two main interfaces that can be used:
* The *Interpolator* class, which is the core class performing the
interpolation.
* The *WebInterface* class which is meant to be used in a API, as it takes the
arguments as JSON and returns JSON along with base64 encoded images.
Example
-------
An Example will follow.
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
scipolate-0.1.3.tar.gz
(138.8 kB
view details)
File details
Details for the file scipolate-0.1.3.tar.gz
.
File metadata
- Download URL: scipolate-0.1.3.tar.gz
- Upload date:
- Size: 138.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cbcaf65a4d7b60d162ff9d7bfe8043814ba97060dc35adce043d2763677bf36 |
|
MD5 | 8ce2d12a5364e6d9ee9fcb25096ed486 |
|
BLAKE2b-256 | 94335a5d8820e2960e20f30c27b08d7a5f78f482ee4c20ec2f71a6d1f9564cfb |