semvec/pypi-packages huggingface dataset:
mag-net 0.1.0
Magnetic Core Loss Modeling using ML
Requires Python: >=3.7

[![Build](https://github.com/PrincetonUniversity/magnet/actions/workflows/main.yml/badge.svg)](https://github.com/PrincetonUniversity/magnet/actions/workflows/main.yml)
![MagNet Logo](app/img/magnetlogo.jpg)

Princeton MagNet is a large-scale dataset designed to enable researchers modeling magnetic core loss using machine learning to accelerate the design process of power electronics. The dataset contains a large amount of voltage and current data of different magnetic components with different shapes of waveforms and different properties measured in the real world. Researchers may use these data as pairs of excitations and responses to build up analytical magnetic models or calculate the core loss to derive static models.

## Website

Princeton MagNet is currently deployed at https://mag-net.princeton.edu/

## Documentation

The web application for Princeton MagNet uses the `magnet` package, a python package under development where most of
the functionality is exposed. Before `magnet` is released on PyPI, it can be installed using
`pip install git+https://github.com/PrincetonUniversity/magnet`.

API Documentation for `magnet` can be viewed online at [https://princetonuniversity.github.io/magnet/](https://princetonuniversity.github.io/magnet/)

## How to Cite

If you used MagNet, please cite us with the following.

H. Li, D. Serrano, T. Guillod, E. Dogariu, A. Nadler, S. Wang, M. Luo, V. Bansal, Y. Chen, C. R. Sullivan, and M. Chen, "MagNet: an Open-Source Database for Data-Driven Magnetic Core Loss Modeling," IEEE Applied Power Electronics Conference (APEC), Houston, 2022.

E. Dogariu, H. Li, D. Serrano, S. Wang, M. Luo and M. Chen, "Transfer Learning Methods for Magnetic Core Loss Modeling,” IEEE Workshop on Control and Modeling of Power Electronics (COMPEL), Cartagena de Indias, Colombia, 2021.

H. Li, S. R. Lee, M. Luo, C. R. Sullivan, Y. Chen and M. Chen, "MagNet: A Machine Learning Framework for Magnetic Core Loss Modeling,” IEEE Workshop on Control and Modeling of Power Electronics (COMPEL), Aalborg, Denmark, 2020.

## Team Members

Princeton MagNet is currently maintained by the Power Electronics Research Lab as Princeton University. We also collaborate with Dartmouth College, and Plexim.

![MagNet Team](app/img/magnetteam.jpg)

## Sponsors

This work is sponsored by the ARPA-E DIFFERENTIATE Program, Princeton CSML DataX program, Princeton Andlinger Center for Energy and the Environment, and National Science Foundation under the NSF CAREER Award. 

![MagNet Sponsor](app/img/sponsor.jpg)
sidspackage 0.0.4
This is my first PyPi package, so its mainly a test

# Sids Package

This is a me testing out putting a package on PyPi

-------

[link to package](https://pypi.org/project/sidspackage/)

```
pip install sidspackage
```

-------

# Colored Text

This is used to print messages with color in terminal
It can also make text bold and underlined

-------

## Usage

```py
from sidspackage import ColorPrint

cp = ColorPrint()

cp.print(color="blue", text="hi")

# To get a list of colors do:
cp.help
```

![Output](https://github.com/FusionSid/sids-package/blob/master/example2.png)

-------

# Pycord Paginator

This is a paginator for pycord.
It takes a list of embeds and makes them paginated with buttons
You will need py-cord installed for this to work

-------

## Usage

```py
from sidspackage import Paginator

async def func_name(ctx):
    embed1 = discord.Embed(title="Click the arrows", description="To look through the embeds")
    embed2 = discord.Embed(title="Test", description="Lol")
    embed3 = discord.Embed(title="Test", description="Lol")

    ems = [embed1, embed2, embed3]

    view = Paginator(ctx=ctx, ems=ems)

    message = await ctx.send(embed=embed1, view=view)

    # This part is optional but it makes it so that once the button timeouts it will be disabled so you wont get any INTERACTION FAILED errors.
    res = await view.wait()
    if res:
        for i in view.children:
            i.disabled = True
    return await message.edit(view=view)
```
![Output2](https://github.com/FusionSid/sids-package/blob/master/example1.png)


Change Log
==========

0.0.1 (08/02/2022)
-------------------
- First Release

0.0.2 (08/02/2022)
-------------------
- Bug Fixes

0.0.3 (08/02/2022)
-------------------
- Turns out importing the package wasn't working now it should

0.0.4 (09/02/2022)
-------------------
- Added custom exception, for better handling. Made colors a global variable to work with custom exceptions, rewrote help and made the color argument in print optional.
- Changes all made by TheOnlyWayUp