From owner-svn-ports-head@freebsd.org Mon Jun 18 02:34:04 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3274C1012FD5; Mon, 18 Jun 2018 02:34:04 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D45406A0BB; Mon, 18 Jun 2018 02:34:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9CF261E0A5; Mon, 18 Jun 2018 02:34:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5I2Y3MQ008335; Mon, 18 Jun 2018 02:34:03 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5I2Y2Y4008332; Mon, 18 Jun 2018 02:34:02 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806180234.w5I2Y2Y4008332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 18 Jun 2018 02:34:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472666 - in head/science: . py-SimpleSpectral X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . py-SimpleSpectral X-SVN-Commit-Revision: 472666 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 02:34:04 -0000 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 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