Saravanan666/pypi-org huggingface dataset:
Package: czt
Chirp Z-Transform (CZT)FromWikipedia:The chirp Z-transform (CZT) is a generalization of the discrete Fourier transform (DFT). While the DFT samples the Z plane at uniformly-spaced points along the unit circle, the chirp Z-transform samples along spiral arcs in the Z-plane, corresponding to straight lines in the S plane. The DFT, real DFT, and zoom DFT can be calculated as special cases of the CZT.Getting StartedYou can install the CZT package usingpip:# to install the latest release (from PyPI)pipinstallczt# to install the latest version (from GitHub)gitclonehttps://github.com/garrettj403/CZT.gitcdCZT
pipinstall-e.# to install dependencies for examplespipinstall-e.[examples]ExampleConsider the following time-domain signal:This is an exponentially decaying sine wave with some distortion from higher-order frequencies. We can convert this signal to the frequency-domain to investigate the frequency content using the Chirp Z-Transform (CZT):Note that the CZT also allows us to calculate the frequency response over an arbitrary frequency range:We can see that the signal has frequency components at 1 kHz, 2.5 kHz and 3.5 kHz. To remove the distortion and isolate the 1 kHz signal, we can apply a simple window in the frequency-domain:Finally, we can use the Inverse Chirp Z-Transform (ICZT) to transform back to the time domain:As we can see, we were able to remove the higher-order frequencies that were distorting our 1 kHz signal.You can find this example and others in theexamples/directory.ReferencesRabiner, L., Schafer, R., Rader, C. The Chirp z-Transform Algorithm. IEEE Trans. Audio Electroacoustics, Au-17, 2, Jun. 1969.Sukhoy, V., Stoytchev, A. Generalizing the inverse FFT off the unit circle. Sci Rep 9, 14443 (2019).Chirp Z-Transform (Wikipedia)Discrete Fourier Transform (Wikipedia)
Package: cztile
cztile - Python package to simplify the process of tiling arraysThis project provides simple-to-use tiling functionality for arrays. It is not linked directly to the CZI file format, but can be of use to process such images in an efficient andtile-wisemanner, which is especially important when dealing with larger images.SamplesThe basic usage can be inferred from this sample notebook:System setupThe current version of this toolbox only requires a fresh Python 3.x installation.
Being a pure Python wheel, it was tested with Python 3.9 on Windows.Supported Tiling StrategiesThis package features the following tiling strategies:AlmostEqualBorderFixedTotalAreaStrategy2DThis covers a total area with a minimal number of tiles of constant total area such that:the image area is completely covered by tiles and is filled up with as few tiles as possiblethe overlap/border between tiles is as small as possible, but it is ensured that at least a minimum border size is usedall interior tiles have the same sizea possible excess border is split among tiles and can lead to slightly different tile and border sizes at the edgeall interior tiles have at least a minimum border width/height on all sidesthe edge tiles have zero border at the edge and at least the minimum border width on their inner sides.The sizes of all non-zero borders differ at most by one pixel.The core functionality is of course also available for 1D.TheAlmostEqualBorderFixedTotalAreaStrategy2Dis based on the following algorithm:InputsImage width:Minimum interior border width (left or right):Fixed total tile width:Calculation of tile positions and bordersCase 1:There is no solution. Fail!Case 2:Use a single tile with no borders.Case 3:Maximum inner tile width of edge tiles:Maximum inner tile width of interior tiles:Total interior tile width:Number of tiles:Excess border:Total number of non-zero left and right borders:Fractional excess border:The first non-zero border has index, the last has index. Tileis surrounded by the borders with indexand.Cumulative excess border for all borders up to border:forCumulative border for all borders up to border:forTile boundaries:Tilefor:Left-most pixel of inner tile:Right-most pixel of inner tile:Inner tile width:Total border width:Left border width:Right border width:Left-most border pixel:Right-most-border pixel:DisclaimerThe libary and the notebook are free to use for everybody. Carl Zeiss Microscopy GmbH undertakes no warranty concerning the use of those tools. Use them at your own risk.By using any of those examples you agree to this disclaimer.Version: 2022.04.06Copyright (c) 2022 Carl Zeiss AG, Germany. All Rights Reserved.
Package: cz-urnnbn-api
Introduction============.. image:: https://badge.fury.io/py/cz_urnnbn_api.png:target: https://pypi.python.org/pypi/cz_urnnbn_api.. image:: https://img.shields.io/pypi/dm/cz-urnnbn-api.svg:target: https://pypi.python.org/pypi/cz_urnnbn_api.. image:: https://readthedocs.org/projects/cz-urnnbn-api/badge/?version=latest:target: http://cz-urnnbn-api.readthedocs.org/.. image:: https://img.shields.io/pypi/l/cz-urnnbn-api.svg.. image:: https://img.shields.io/github/issues/edeposit/cz-urnnbn-api.svg:target: https://github.com/edeposit/cz-urnnbn-api/issuesPython API for czech `URN:NBN resolver <https://resolver.nkp.cz/>`_ (`documentation <https://code.google.com/p/urnnbn-resolver-v2/>`_).URN\:NBN is system for registration and assigning of special codes for electronic publications (it may look like this: ``urn:nbn:cz:edep-00000s``). The codes can be then used to resolve (translate) the code to metadata information about publication and/or to get pointer to actual digital instance of the publication (=file).Documentation-------------Full module documentation and description can be found at Read the Docs:- http://cz-urnnbn-api.readthedocs.orgContributors============- Bystroushaak <bystrousak@kitakitsune.org>, DeveloperChangelog=========0.2.6------ Added @first_or_none() decorator.- Fixed #24 - bug in .get_title().- Added more test files.0.2.5------ Small preventive improvement.0.2.4------ Fixed bug in ``MonographPublication.get_year()``.0.2.3------ Added requirements to requests.0.2.2------ Fixed another bug in build system.0.2.1------ Fixed bug in build system.0.2.0------ Added docstrings.- Added integration tests.- Added `sphinx documentation <http://cz-urnnbn-api.readthedocs.org/`_, README.0.1.0------ Project created.