semvec/pypi-packages huggingface dataset:
my-second-ph3-package 0.1.0
This time it will work perfectly!
Requires Python: >=3.9,<4.0

=====================
My Second PH3 Package
=====================


.. image:: https://img.shields.io/pypi/v/my-second-ph3-package.svg
        :target: https://pypi.python.org/pypi/my-second-ph3-package
        :alt: PyPI Status

.. image:: https://github.com/balouf/my-second-ph3-package/actions/workflows/build.yml/badge.svg?branch=main
        :target: https://github.com/balouf/my-second-ph3-package/actions?query=workflow%3Abuild
        :alt: Build Status

.. image:: https://github.com/balouf/my-second-ph3-package/actions/workflows/docs.yml/badge.svg?branch=main
        :target: https://github.com/balouf/my-second-ph3-package/actions?query=workflow%3Adocs
        :alt: Documentation Status

.. image:: https://img.shields.io/github/license/balouf/my-second-ph3-package
        :target: image:: https://img.shields.io/github/license/balouf/my-second-ph3-package
        :alt: License

.. image:: https://codecov.io/gh/balouf/my-second-ph3-package/branch/main/graphs/badge.svg
        :target: https://codecov.io/gh/balouf/my-second-ph3-package/tree/main
        :alt: Code Coverage

This time it will work perfectly!

Just need to check a bit of stuff.


* Free software: MIT license
* Documentation: https://balouf.github.io/my-second-ph3-package/.


--------
Features
--------

* TODO

-------
Credits
-------

This package was created with Cookiecutter_ and the `package-helper-3`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`package-helper-3`: https://balouf.github.io/package-helper-3/
streamlit-durr-icon-button 0.0.1
Streamlit component that allows you to create non stylized buttons with a svg icon
Requires Python: >=3.7

# streamlit-custom-component

Streamlit component that allows you to do X

## Installation instructions

```sh
pip install streamlit-custom-component
```

## Usage instructions

```python
import streamlit as st

from my_component import my_component

value = my_component()

st.write(value)
```
my-first-ph3-package 0.2.0
PH3 packages are quick to make!
Requires Python: >=3.9,<4.0

====================
My First PH3 Package
====================


.. image:: https://img.shields.io/pypi/v/my-first-ph3-package.svg
        :target: https://pypi.python.org/pypi/my-first-ph3-package
        :alt: PyPI Status

.. image:: https://github.com/balouf/my-first-ph3-package/actions/workflows/build.yml/badge.svg?branch=main
        :target: https://github.com/balouf/my-first-ph3-package/actions?query=workflow%3Abuild
        :alt: Build Status

.. image:: https://github.com/balouf/my-first-ph3-package/actions/workflows/docs.yml/badge.svg?branch=main
        :target: https://github.com/balouf/my-first-ph3-package/actions?query=workflow%3Adocs
        :alt: Documentation Status

.. image:: https://img.shields.io/github/license/balouf/my-first-ph3-package
        :target: image:: https://img.shields.io/github/license/balouf/my-first-ph3-package
        :alt: License

.. image:: https://codecov.io/gh/balouf/my-first-ph3-package/branch/main/graphs/badge.svg
        :target: https://codecov.io/gh/balouf/my-first-ph3-package/tree/main
        :alt: Code Coverage

PH3 packages are quick to make!


* Free software: MIT license
* Documentation: https://balouf.github.io/my-first-ph3-package/.


--------
Features
--------

* TODO

-------
Credits
-------

This package was created with Cookiecutter_ and the `package-helper-3`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`package-helper-3`: https://balouf.github.io/package-helper-3/
Yating-TTS-SDK-Python 1.0.4
Yating TTS SDK Python
Requires Python: >=3.6
Keywords: text to speech

# Yating TTS SDK - Python version

## Available Key

- Please contact Yating TTS

### Input

```JSON
{
    "input": {
        "text": "sentence, the text that you want to generate audio",
        "type": "text"
    },
    "voice": {
        "model": "zh_en_female_1",
        "speed": 1,
        "pitch": 1,
        "energy": 1
    },
    "audioConfig": {
        "encoding": "LINEAR16",
        "sampleRate": "16K"
    }
}
```

## Available Variable

### Input Type

| Name | Description                          |
| ---- | ------------------------------------ |
| text | Recognize input.text as pure text.   |
| ssml | Recognize input.text in ssml format. |

### Voice Setting

| Name   | Type   | Value Limit  | Description                      |
| ------ | ------ | :----------: | -------------------------------- |
| model  | string | Table bellow | Voice Model                      |
| speed  | float  |  0.5 - 1.5   | Voice Speed, faster slower       |
| pitch  | float  |  0.5 - 1.5   | Voice Pitch, higher or lower     |
| energy | float  |  0.5 - 1.5   | Voice Energy, stronger or weaker |

### Voice Model

| Name           | Sample Rate | Description                       |
| -------------- | ----------- | --------------------------------- |
| zh_en_female_1 | 16k,22k     | Yating speak Mandarin and English |
| zh_en_female_2 | 16k,22k     | Yiqing speak Mandarin and English |
| zh_en_male_1   | 16k,22k     | Jiahao speak Mandarin and English |
| tai_female_1   | 16k         | Yating speak Taiwanese            |
| tai_female_2   | 16k         | Yiqing speak Taiwanese            |
| tai_male_1     | 16k         | Jiahao speak Taiwanese            |

### Encoding Format

| Name     | File Extension | Description                 |
| -------- | -------------- | --------------------------- |
| MP3      | .mp3           | Compressed audio            |
| LINEAR16 | .wav           | Uncompromised audio quality |

### Sampling Rate

| Name | Description            |
| ---- | ---------------------- |
| 16K  | Sampling rate in 16khz |
| 22K  | Sampling rate in 22khz |
icinga-tray 0.1.5
A small script to display a tray icon with icinga information
Requires Python: >=3.8
Keywords: icinga,tray,icon,monitoring,icingaweb,icinga2

# Icinga Tray

This script creates a system tray icon that displays current Icinga information
and sends notifications on changes. It uses the icingaweb-API.

It runs on Linux and Windows, possibly on Mac, but that's untested.

# Installation
Install using `pip`:
```
pip install icinga-tray
```

# Configuration
At this point the configuration is done with a config file in JSON format,
no GUI available.

The file should be located here:
- Linux: `$XDG_CONFIG_HOME/icinga_tray/config.json` (default is `~/.config/icinga-tray/config.json`)
- Windows: `%USERPROFILE%\AppData\Local\icinga-tray\icinga-tray\config.json`

It should look like this:
```json
{
    "base_url": "https://my.icinga.server/icingaweb2/",
    "ssl_verify": "yes",
    "user": "login",
    "notifications": "yes",
    "use_keyring": "yes",
    "interval": 10000,
    "host_groups": ["host_group1", "host_group2"]
}
```
- `base_url`: the URL to the icinga-Webinterface
- `ssl_verify`: whether to check for a valid ssl certificate
- `user`: the login to authenticate
- `notifications`: whether to send desktop notifications or not
- `use_keyring`: if set to yes, the credentials will be stored in the system keyring, if set to no the password needs to be entered on every launch
- `interval`: refresh interval in ms
- `host_groups`: host groups to monitor (no "all" setting or similar available at this point)

# Run
- Linux: simply run `icinga_tray` from anywhere. Make sure that the install directory is in your `PATH`
- Windows: run `icinga_tray` from a terminal or create a shortcut as target simply put `icinga_tray`, you can add it to your autostart
sla 1.4.1
Non-parametric LOSVD analysis for galaxy spectra

# Stellar LOSVD Analysis (SLA)

Code for the non-parametrical recovery of stellar Line-Of-Sight Velocity Distributions (LOSVD) from galaxy spectra.

Stellar LOSVD recovery from the observed galaxy spectra is equivalent to a deconvolution and can be solved as a linear inverse problem. To overcome its ill-posed nature we apply smoothing regularization. Here we present a non-parametric fitting technique and show real-world application to **MaNGA** spectral data cubes and **long-slit spectrum** of stellar counter-rotating galaxies.

More information about this technique can be found in [ADASS XXXI conference proceeding](https://arxiv.org/abs/2112.08386) and in [examples](example/)


## Installation
Use the package manager `pip` to install __sla__.

```
pip install sla==1.3.3
```

The __sla__ package uses the following dependencies, which should be installed when installing through the pip manager:

```
pip install -r requirements.txt
```

- numpy
- scipy
- matplotlib
- astropy
- lmfit
- vorbin
- pseudoslit
- glob
- PyPDF2
- tqdm


## Usage

SLA usage examples are shown for stellar counter-rotating galaxy PGC 66551 (Gasymov, Katkov et al. in prep.). To run examples, first download test dataset which includes:

- MaNGA spectral cube
- long-slit spectra.

```
sh ./data/download.sh 
```

### Use case examples

#### Example 1

Example of stellar LOSVD recovery along pseudoslit spectrum taken from MaNGA spectral cube along the major axis
```
cd example
python3 example_MaNGA_without_template.py
```

#### Example 2

LOSVD is determined from the RSS long slit spectrum using the un-broadened stellar population template (SSP PEGASE.HR), which was constructed by applying in advance [NBursts](https://ui.adsabs.harvard.edu/abs/2007IAUS..241..175C/abstract) full spectral fitting method.

```
cd example
python3 example_NBursts_with_template.py
```


#### Example 3

The same as in the previous example, but without using NBursts output. The necessary stellar population template is selected from the model grid for given approximate SSP parameters

```
cd example
python3 example_NBursts_without_template.py
```


The resulting file fits file PDF figure will be stored in the **result** folder. 


## Authors
 - [Damir Gasymov](https://github.com/gasymovdf) (Sternberg Astronomical Institute, Lomonosov Moscow State University)
 - [Ivan Katkov](https://github.com/ivan-katkov) (NYU Abu Dhabi, Lomonosov Moscow State University)