Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 02:34:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472666 - in head/science: . py-SimpleSpectral
Message-ID:  <201806180234.w5I2Y2Y4008332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Jun 18 02:34:02 2018
New Revision: 472666
URL: https://svnweb.freebsd.org/changeset/ports/472666

Log:
  New port: science/py-SimpleSpectral: Simplified scipy.signal.spectral module with only pyFFTW support

Added:
  head/science/py-SimpleSpectral/
  head/science/py-SimpleSpectral/Makefile   (contents, props changed)
  head/science/py-SimpleSpectral/distinfo   (contents, props changed)
  head/science/py-SimpleSpectral/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Mon Jun 18 01:48:46 2018	(r472665)
+++ head/science/Makefile	Mon Jun 18 02:34:02 2018	(r472666)
@@ -167,6 +167,7 @@
     SUBDIR += py-MDAnalysisTests
     SUBDIR += py-OpenFermion
     SUBDIR += py-PyQuante
+    SUBDIR += py-SimpleSpectral
     SUBDIR += py-abipy
     SUBDIR += py-cdo
     SUBDIR += py-coards

Added: head/science/py-SimpleSpectral/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-SimpleSpectral/Makefile	Mon Jun 18 02:34:02 2018	(r472666)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	SimpleSpectral
+DISTVERSION=	1.0.0
+CATEGORIES=	science python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Simplified scipy.signal.spectral module with only pyFFTW support
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		python:3.4+
+USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/science/py-SimpleSpectral/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-SimpleSpectral/distinfo	Mon Jun 18 02:34:02 2018	(r472666)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529288885
+SHA256 (SimpleSpectral-1.0.0.tar.gz) = 869326949870faed82bf21890603569e5c834a8599be5d55c38cb3b41bef0362
+SIZE (SimpleSpectral-1.0.0.tar.gz) = 6116

Added: head/science/py-SimpleSpectral/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-SimpleSpectral/pkg-descr	Mon Jun 18 02:34:02 2018	(r472666)
@@ -0,0 +1,13 @@
+You can use scipy.signal tutorial and reference guide in most cases, but
+there are some important differences:
+* input data is assumed to be complex and two-sided spectrum is always returned
+  (return_onesided argument is not implemented)
+* length of FFT is always same as length of segment (nfft argument is not
+  implemented)
+* functions work always over last axis of array (axis argument is not
+  implemented)
+* if you want to have best FFT performance with pyFFTW, you should create arrays
+  with empty, zeros or ones functions from SimpleSpectral instead of generic
+  versions from NumPy (arrays will be byte aligned for your CPU)
+
+WWW: https://github.com/xmikos/simplespectral



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806180234.w5I2Y2Y4008332>