semvec/pypi-packages huggingface dataset:
normal-corner 0.0.1
Analytical corner plot for Gaussian distributions

# normal_corner

This code produces a corner plot for analytical multi-dimensional Gaussian distribution, using covariance matrix and mean matrix. It also allows us to plot another distribution, with reduced dimensionality, on top. I.e. a distribution for a case where we fixed one variable.

See demo.py for examples.

## Installation

Option 1:
 - `pip install normal_corner`

Option 2:
 - `python setup.py install` in cloned directory

## Documentation

The main component is function normal\_corner inside a normal\_corner package.
Below is a description of inputs and outputs.

#### Output:
 - Matplotlib figure object with a corner plot

#### Main input:
 - `covm` : covariance matrix, _numpy array_, NxN.
 - `mean` : mean matrix, _numpy array_, 1xN.
 - `varlabels` : labels for plotting, 1xN, _list of str_ in LaTex format, between ($$).

#### Input for a second distribution on top:
 - `fixedvarindex` : index of variable that we do not use (fix), _int_, starting from 0. If not _None_, covm2 and mean2 must not be _None_.
 - `fixedvarvalue` : value of fixed variable, _float_. Leave None not to plot fixed value.
 - `newcov` and `newmean` : new covariance and mean matrices, same format, as above.

#### Optional input:
 - `scale_factor` : scale factor for plotting area, _float_, in sigma.
 - `diagnostic` : an option to print out some diagnostic messages, _bool_.
 - `color` : color for a main Normal distribution, _str_.
 - `color2` : color for a secondary Normal distribution, with reduced dimensionality, _str_.
depict-control 1.0
Control your Depict digital art frames (depict.com)
Requires Python: >=3.5.1
Keywords: depict

====================
``depict-control``
====================

Control your `Depict Frame <https://www.depict.com>` from Python 3.5 with ``asyncio``!

This initial release is mainly targeting the functionality needed for basic integrations
with home automation systems:

* Sleep/wake
* Brightness + contrast
* Setting current image

*************
Usage example
*************

Finding frames on your network
==============================
To find the IP addresses of all tables on your local network. This is a very naive search; it assumes your subnet
mask is ``255.255.255.0``::

  from depict_control import Frame

  ip_addrs = await Frame.find_frame_ips()

Once you know the IP address, connect to the table (``session`` is an ``aiohttp Session`` object)::

  async with await Frame.connect(session, ip_addr) as frame:
    # Do stuff here

Basic controls
==============
In addition to a bunch of properties for querying the current state of the frame, ``Frame`` has several methods that
allow simple control::

  await frame.set_brightness(100)  # Set backlight brightness
  await frame.set_contrast(50)     # Set image contrast
  await frame.set_image_url(url)   # Display an image