Penguins

Latest version: v0.5.2

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.0

- Renaming of `pg.subplots()` to `pg.subplots2d()` to avoid confusion with the existing matplotlib function of the same name.
- (A working version of) lazy readin of processed data. This allows unprocessed datasets to be loaded in with `pg.read()`, for example if the FID is the only part of interest.
- Better handling of 2D raw data.
- Dataset methods `mc()`, `xf1m()`, `xf2m()`, `xfbm()` which construct magnitude-mode spectra.
- Various bugfixes for parsing of TopSpin parameters.
- Generic keyword arguments can be passed to the `Dataset.stage()` method; these are passed on to `ax.plot()` or `ax.contour()` respectively.
- Automatic labelling of Axes using `pg.label_axes()`, useful for publication images.
- The ppm scale is determined now using the processing parameters `OFFSET` and `SW_p`, instead of the acquisition parameters `O1` and `SW_h`.
- Overhaul of documentation (still in progress).

0.1.2

0.1.1

**DOES NOT WORK**

Reads in ser files for 2D spectra now.

Raw data is only read in on-demand, i.e. lazily. This is to avoid slowing down the vast majority of use cases where only the processed data is of interest.

0.1

🐧🐧 The first release of penguins! 🐧🐧

The package at this point in time should not be considered stable. However, I have used it personally for a few weeks already and I think that the core functionality inside should be free of egregious bugs.

There are some undocumented functions for working with Datasets (e.g. creating projections and slices). These will be documented soon...

Also, penguins-0.1 is now actually [available on PyPI](https://pypi.org/project/penguins/)! So you can download it with pip:

`pip install penguins`

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.