semvec/pypi-packages huggingface dataset:
scatter-downsample 0.2.6
A module used for downsampling high resolution images using the scattering transform
Requires Python: >=3.6

# Downsampling high resolution images using the scattering transform
Atlasing high resolution data,Scattering transform, Visualization of imges, Downsampling with multiple methods

# Usage
`python3 -m scatter_downsample -i IMAGE -n NUMBER OF DOWNSAMPLE [-s] [filtered standard deviation channels] [-d] [directions for gaussian] [-m] [methods]`

or 

`import scatter_downsample` in python3 environment

## ScatterDown(img,ndown2,filtered_std=2,method=1,direction=2):
Input:

    - img: input image
    - ndown2: how many times to downsample by a factor of 2
    - filtered_std: how many standard deviations maximum should not get filtered out (default 2)
    - direction numbers: for gaussian downsampling (default 2)
    - method: (default 1)
        - 2*2 mean and standard deviation (1)
        - 2*2 mean and standard deviation with directions (2)
        - Gaussian filtering (3)

Output: 

    - high dimensional image in ndarray form
    - labels for each channel
    - an example visualization that you save as a png file

# Tests
installed by: `python -m unittest tests/testcase.py`

- an example image to test for the shape of output image and labels for method 1 (mean and std)

# Versions
## 0.2.4
- Add options for Gaussian Downsampling
- Add Gaussian Flipping and Rotations methods
- Setup requirements.txt for auto download required modules

## 0.2.0
Add in updated methods (mean/std with directions and gaussian filtering), add command line interfaces with argparse
hiveengine 0.2.2
command line tool and python library for sending hive engine tokens
Keywords: hive,tools,nft

# hiveengine
Python tools for obtaining and processing hive engine tokens

[![Build Status](https://travis-ci.org/holgern/hiveengine.svg?branch=master)](https://travis-ci.org/holgern/hiveengine)

## Installation
```
pip install hiveengine
```


## Commands
Get the latest block of the sidechain
```
from hiveengine.api import Api
api = Api()
print(api.get_latest_block_info())
```

Get the block with the specified block number of the sidechain
```
from hiveengine.api import Api
api = Api()
print(api.get_block_info(1910))
```

Retrieve the specified transaction info of the sidechain
```
from hiveengine.api import Api
api = Api()
print(api.get_transaction_info("e6c7f351b3743d1ed3d66eb9c6f2c102020aaa5d"))
```

Get the contract specified from the database
```
from hiveengine.api import Api
api = Api()
print(api.get_contract("tokens"))
```

Get an array of objects that match the query from the table of the specified contract
```
from hiveengine.api import Api
api = Api()
print(api.find("tokens", "tokens"))
```

Get the object that matches the query from the table of the specified contract
```
from hiveengine.api import Api
api = Api()
print(api.find_one("tokens", "tokens"))
```

Get the transaction history for an account and a token
```
from hiveengine.api import Api
api = Api()
print(api.get_history("holger80", "FOODIE"))
```
## Token transfer
```
from beem import Steem
from hiveengine.wallet import Wallet
stm = Steem(keys=["5xx"])
wallet = Wallet("test_user", steem_instance=stm)
wallet.transfer("test1",1,"TST", memo="This is a test")
```
## Buy/Sell
### Create a buy order
```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
m.buy("test_user", 1, "TST", 9.99)
```
### Create a sell order

```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
m.sell("test_user", 1, "TST", 9.99)
```
### Cancel a buy order
```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
open_buy_orders = m.get_buy_book("TST", "test_user")
m.cancel("test_user", "buy", open_buy_orders[0]["_id"])
```
### Cancel a sell order
```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
open_sell_orders = m.get_sell_book("TST", "test_user")
m.cancel("test_user", "sell", open_sell_orders[0]["_id"])
```
### Deposit Steem
```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
m.deposit("test_user", 10)
```
### Withdrawal
```
from beem import Steem
from hiveengine.market import Market
stm = Steem(keys=["5xx"])
m=Market(steem_instance=stm)
m.withdraw("test_user", 10)
```