pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New version available 1.0.0 * Added some performance enhancements * Miriad.UV files can now store data as both shorts and as float32 (avoiding dynamic range problems) * Various bugfixes * Because of stability of 0.X.X series, we' ve promoted this to a non-beta release!



Module Name:	pkgsrc-wip
Committed By:	Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sat Oct 3 22:06:11 2015 +0100
Changeset:	b1132c58f41fce0c8ebce88d7e0fc70130730a93

Modified Files:
	py-aipy/DESCR
	py-aipy/Makefile
	py-aipy/PLIST
	py-aipy/distinfo

Log Message:
New version available
1.0.0
* Added some performance enhancements
* Miriad.UV files can now store data as both shorts and as float32 (avoiding dynamic range problems)
* Various bugfixes
* Because of stability of 0.X.X series, we've promoted this to a non-beta release!

0.9.0
* Made some major naming changes in preparation for an AIPY publication.  These include
  renaming aipy.ant to aipy.phs, aipy.sim to aipy.amp, aipy.loc to aipy.cal.
* Renamed BeamFlat to just plain Beam
* Changed the -l options (for "loc files") in scripting interfaces to -C (for "cal" files)
* Added support in scripting interface channel selection for constructions of the form
  0_10_2, meaning channels 0 to 10 (including endpoints), counting by 2.
* Refactored code so source spectra are computed internally to RadioBodys, and are
  accessed through the get_jys() method.  Added an update_jys() method for computing
  a source spectrum for specified frequencies without needing an AntennaArray object.
* Added a get_afreqs() method to AntennaArrays to elucidate the opaque incantation;
  "AntennaArray.ants[0].beam.afreqs."
* Added a system support for adding source catalogs through src.py calling catalog
  interfaces stored in the _srcs directory.  Made the Helmboldt catalog the default
  catalog that AIPY comes with (since it's pretty small and geared toward low frequencies).
* Added unit tests (in "test" directory) for the most-used modules, and will continue to
  add them as other modules are revisited.  There is also a script called
  "script_battery.sh" that does basic exercising of most AIPY scripts.
* In Antennas, grouped delay/offset into an array called phsoff which is a phase
  polynomial in frequency.
* Couple of bugfixes on how objects are updated (now made explicit with "update()"
  methods) and fixed an array shape bug in Antenna.refract()
* Fixed a bug in filter_src.py where data were zeroed when a source is below the horizon.
* Transitioned all nomenclature from "Fringe-Rate" to "Delay-Rate" as per
  Parsons & Backer (2009) in AJ.
* Changed how fit parameters are input in scripting module
* Bugfix for when resolution effects are taken into account in
  AntennaArray.gen_phs.
* Bugfix in xrfi.py for flagging by integration
* Improved filtering in filter_src.py to use padding and optionally passband
  information.
* Added script srclist.py
* Added masking by wieght to plot_map.py

0.8.6
* Fixed a data-type error for Healpix maps that aren't doubles
* Added max/drng/cmap parameters to standard command-line options
* Started adding unit tests
* Changed noise option in mdlvis.py to add noise in Jy (not data) units.
* Changed behavior of reducing NSIDE in Healpix maps to sum instead of average.
* Bugfix on extracting source below the horizon in filter_src.py
* Work aound problem with numpy MA arrays not having a mask if entire image
  is valid.
* Added new option (0,1,2)_3 for specifying antennas on the command line.

0.8.5
* Added support to mdlvis.py for simulating data without an input UV file.
* Added "none" mode to xrfi.py to flag only those channels specified manually.
* Added line to alm_wrapper.cpp to support compilation on python < 2.5.

0.8.4
* Changed modmap.py to work with sources of nonzero angular size.  Also added
  support for changing the data type (double,float) of a map.
* Added parameter to mk_img.py to control minimum altitude to allow for
  phase center.  Also added parameter for resuming interrupted faceting.
* Fixed xrfi.py default parameter "intthresh" to avoid excessive flagging
  of integrations.
* Made fitmdl.py skip fitting when there are no data.  Added "snap" mode to
  fit parameters every integration.
* Added text color option to plot_map.py
* Added ionospheric refraction code using 1/freq**2 scaling.  This involved
  some significant refactoring of code, and some changes in fitmdl.py and
  mdlvis.py.
* Changed fitmdl.py to cache UV data, resulting in less time reading files.
  This significantly sped up code, although may become problematic with
  fits involving lots of data.
* Removed some per-baseline computations in ant.py that occured every
  compute, even if unnecessary.  Baseline projections are now computed as
  needed.  Sped up simulations involving few baselines.
* Bugfix to miriad "select" command involving "time" selection: double
  arguments were incorrectly cast as floats.
* Made mk_map.py a little more efficient in calculating map weights.

0.8.3
* Changed how loc-specific source parameters are implemented (now with
  get_catalog() instead of src_prms).  Changed scripts to use this format,
  and scripting.parse_srcs() to return values that can feed get_catalog().

0.8.2
* Built in decimation to UV files in miriad_wrap.cpp.
* Added decimation selection with select() to UV files in miriad.py.
* Bugfix on various scripts to use new clean command.

0.8.1
* Split out cleaning functionality from mk_img.py into cl_img.py.
* Added snapshot capability to mk_img.py
* Bugfix for plot_img.py grid being upside-down.
* Reimplemented clean in C for speed.

0.8.0
* Added resolving support for elliptical sources in resolve_src() in ant.py.
* Reworked how get_baseline() and gen_uvw() functioned to facilitate elliptical
  sources.  This change required updating scripts that use gen_uvw().
* Allowed specifying coordinate epochs for RadioFixedBody's
* Changed how plot_img.py, mk_map.py work.  There is now a general script
  mk_img.py which geberates FITS files (introduced in 0.7.1) for each specified
  source, or for equally-spaced phase centers around the sphere.  This script
  is responsible for all image generation.  mk_map.py now takes these FITS
  images as input and uses them as facet images to make a spherical Healpix
  map.  plot_img.py is now a visualization tool (a la plot_uv.py and
  plot_map.py), and overlays appropriate ra/dec grids on the FITS images.
* Flipped u/v order (and sign of v) in the Img class in img.py to be more
  naturally compatible with FITS image conventions.  Required a change to
  Img.gen_LM() as well.

0.7.2
* Added sorting to plot_uv.py to make plots in sensible baseline order.
* Edited script documentation for plot_map.py
* Changed "-a" in scripting.py so that "-a 0,1,2" includes only baselines that
  involve these antennas without autos (i.e. 0_1,0_2,1_2), rather than all
  baselines that involve any of the antennas. Listing 1 antenna will
  include all baselines involving that antenna.
* Fixed combine_freqs.py to work with new numpy masked arrays.
* Made fitmdl.py have a --sim_auto parameter that rejects auto-correlations
  by default.  This makes fitmdl.py work more nicely with '-a' change above.

0.7.1
* Changed "flat" to "flatten()" in plot_img.py, as per numpy-1.2.
* Made plot_map.py able to function (only for cyl projection) without basemap.
* Added FITS image I/O convenience functions to img.py.  Defined standard
  FITS format based on VLA images.

0.7.0
* Moved functions from xrfi.py script into rfi module
* Bugfix in array shape in BeamFlat response() function
* Ported to numpy>=1.2.  Involved:
  - Update flag_by_int in rfi module for new numpy-1.2.ma behavior
  - Update miriad_wrap.cpp, healpix_wrap.cpp, alm_wrap.cpp for new
    numpy-1.2 API (PyArray_SimpleNew instead of PyArray_FromDims,
    npy_intp instead of int for array dimensions)

0.6.5
* Bugfix to source strength polynomials as a function of LST
* Corrected all 3C source postions in src.py using NED.
* Ported to numpy>=1.1, matplotlib>=0.98, basemap>=0.99.  Involved:
    - use of numpy.histogram with new=True in xrfi.py
    - importing Basemap from mpl_toolkits.basemap in plot_map.py
* Split dependency installation into two scripts: install_required.sh
  which installs the minimum needed to be able to install aipy and run
  "import aipy", and install_recommended.sh which installs matplotlib/basemap
  and is needed for most of the scripts that come with AIPY.

0.6.4
* Attempting to support easy_install/setuptools functionality while maintaining
  the simple building that already works.
* Feature added to plot_map.py to give (ra,dec),flux of location on a map
  when right-clicked.
* Changed how plot_map.py plots to use imshow instead of contourf.

0.6.3
* Added _cephes module (from scipy, cutting out fortran dependencies) which
  implements various scientific functions.  Needed j1 = Bessel function.
* Moved source-resolution estimator (using symmetric disc approx) from phs2src
  into separate AntennaArray.resolve_src().  Changed from incorrect sinc
  function to correct j1 (first order Bessel function).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b1132c58f41fce0c8ebce88d7e0fc70130730a93

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-aipy/DESCR    |  1 -
 py-aipy/Makefile | 10 +++++-----
 py-aipy/PLIST    | 37 ++++++++++++++++++++++++++++++++++++-
 py-aipy/distinfo |  6 +++---
 4 files changed, 44 insertions(+), 10 deletions(-)

diffs:
diff --git a/py-aipy/DESCR b/py-aipy/DESCR
index 1b57b35..e69de29 100644
--- a/py-aipy/DESCR
+++ b/py-aipy/DESCR
@@ -1 +0,0 @@
-Astronomical Interferometry in Python
diff --git a/py-aipy/Makefile b/py-aipy/Makefile
index 529bf72..4feec88 100644
--- a/py-aipy/Makefile
+++ b/py-aipy/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.8 2014/01/20 12:55:08 thomasklausner Exp $
+# $NetBSD$
 
-DISTNAME=	aipy-0.9.1
+DISTNAME=	aipy-2.1.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 PKGREVISION=	1
-CATEGORIES=	misc python
-MASTER_SITES=	http://pypi.python.org/packages/source/a/aipy/
+CATEGORIES=	math python
+MASTER_SITES=	https://pypi.python.org/packages/source/a/aipy/
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
 HOMEPAGE=	http://casper.berkeley.edu/astrobaki/index.php/AIPY
 COMMENT=	Astronomical Interferometry in Python
 LICENSE=	gnu-gpl-v2
 
-DEPENDS+=	${PYPKGPREFIX}-fits>=2.3.1:../../graphics/py-fits
+#DEPENDS+=	${PYPKGPREFIX}-fits>=3.2:../../graphics/py-fits
 
 USE_LANGUAGES=	c c++
 
diff --git a/py-aipy/PLIST b/py-aipy/PLIST
index 65fa053..c1d16f9 100644
--- a/py-aipy/PLIST
+++ b/py-aipy/PLIST
@@ -1,11 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/24 09:36:05 jihbed Exp $
+@comment $NetBSD$
+bin/aipy_version.py
+bin/amp_close.py
 bin/apply_bp.py
+bin/apply_cal.py
 bin/cl_img.py
 bin/combine_freqs.py
 bin/compress_uv.py
 bin/filter_src.py
+bin/find_delay.py
 bin/fitmdl.py
 bin/flux_cal.py
+bin/inspect_phs_close.py
 bin/lst
 bin/mdlvis.py
 bin/mk_img.py
@@ -15,17 +20,32 @@ bin/phs2src.py
 bin/plot_img.py
 bin/plot_map.py
 bin/plot_uv.py
+bin/pull_ants.py
+bin/pull_pol.py
+bin/rfi_diagnostic.py
 bin/srclist.py
+bin/stokes_rotate.py
 bin/uv_addsub.py
 bin/uvlist.py
 bin/xrfi.py
+bin/xrfi_simple.py
 bin/xtalk3.py
+${PYSITELIB}/aipy/__branch__.py
+${PYSITELIB}/aipy/__branch__.pyc
+${PYSITELIB}/aipy/__branch__.pyo
+${PYSITELIB}/aipy/__gitlog__.py
+${PYSITELIB}/aipy/__gitlog__.pyc
+${PYSITELIB}/aipy/__gitlog__.pyo
 ${PYSITELIB}/aipy/__init__.py
 ${PYSITELIB}/aipy/__init__.pyc
 ${PYSITELIB}/aipy/__init__.pyo
+${PYSITELIB}/aipy/__version__.py
+${PYSITELIB}/aipy/__version__.pyc
+${PYSITELIB}/aipy/__version__.pyo
 ${PYSITELIB}/aipy/_alm.so
 ${PYSITELIB}/aipy/_cephes.so
 ${PYSITELIB}/aipy/_deconv.so
+${PYSITELIB}/aipy/_dsp.so
 ${PYSITELIB}/aipy/_healpix.so
 ${PYSITELIB}/aipy/_miriad.so
 ${PYSITELIB}/aipy/_src/__init__.py
@@ -54,6 +74,9 @@ ${PYSITELIB}/aipy/_src/mrt.pyo
 ${PYSITELIB}/aipy/_src/nvss.py
 ${PYSITELIB}/aipy/_src/nvss.pyc
 ${PYSITELIB}/aipy/_src/nvss.pyo
+${PYSITELIB}/aipy/_src/paper.py
+${PYSITELIB}/aipy/_src/paper.pyc
+${PYSITELIB}/aipy/_src/paper.pyo
 ${PYSITELIB}/aipy/_src/parkes.py
 ${PYSITELIB}/aipy/_src/parkes.pyc
 ${PYSITELIB}/aipy/_src/parkes.pyo
@@ -72,6 +95,9 @@ ${PYSITELIB}/aipy/_src/three_cr.pyo
 ${PYSITELIB}/aipy/_src/txs.py
 ${PYSITELIB}/aipy/_src/txs.pyc
 ${PYSITELIB}/aipy/_src/txs.pyo
+${PYSITELIB}/aipy/_src/vlss.py
+${PYSITELIB}/aipy/_src/vlss.pyc
+${PYSITELIB}/aipy/_src/vlss.pyo
 ${PYSITELIB}/aipy/_src/wenss.py
 ${PYSITELIB}/aipy/_src/wenss.pyc
 ${PYSITELIB}/aipy/_src/wenss.pyo
@@ -90,6 +116,9 @@ ${PYSITELIB}/aipy/coord.pyo
 ${PYSITELIB}/aipy/deconv.py
 ${PYSITELIB}/aipy/deconv.pyc
 ${PYSITELIB}/aipy/deconv.pyo
+${PYSITELIB}/aipy/dsp.py
+${PYSITELIB}/aipy/dsp.pyc
+${PYSITELIB}/aipy/dsp.pyo
 ${PYSITELIB}/aipy/fit.py
 ${PYSITELIB}/aipy/fit.pyc
 ${PYSITELIB}/aipy/fit.pyo
@@ -126,6 +155,9 @@ ${PYSITELIB}/aipy/optimize/optimize.pyo
 ${PYSITELIB}/aipy/phs.py
 ${PYSITELIB}/aipy/phs.pyc
 ${PYSITELIB}/aipy/phs.pyo
+${PYSITELIB}/aipy/pol.py
+${PYSITELIB}/aipy/pol.pyc
+${PYSITELIB}/aipy/pol.pyo
 ${PYSITELIB}/aipy/rfi.py
 ${PYSITELIB}/aipy/rfi.pyc
 ${PYSITELIB}/aipy/rfi.pyo
@@ -135,4 +167,7 @@ ${PYSITELIB}/aipy/scripting.pyo
 ${PYSITELIB}/aipy/src.py
 ${PYSITELIB}/aipy/src.pyc
 ${PYSITELIB}/aipy/src.pyo
+${PYSITELIB}/aipy/twodgauss.py
+${PYSITELIB}/aipy/twodgauss.pyc
+${PYSITELIB}/aipy/twodgauss.pyo
 ${PYSITELIB}/aipy/utils.so
diff --git a/py-aipy/distinfo b/py-aipy/distinfo
index af7048a..70db759 100644
--- a/py-aipy/distinfo
+++ b/py-aipy/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2011/01/24 09:36:05 jihbed Exp $
 
-SHA1 (aipy-0.9.1.tar.gz) = 49c819e9bbd453b601e7795aac0f62adfe39c4e9
-RMD160 (aipy-0.9.1.tar.gz) = 03adf6e2e3c1f467a2e8bad4fb3745360a8aab95
-Size (aipy-0.9.1.tar.gz) = 1501882 bytes
+SHA1 (aipy-2.1.0.tar.gz) = 2191b6f83d072ec11e3f11e45870fab0fb39199b
+RMD160 (aipy-2.1.0.tar.gz) = ef6e1186bd6ccd216d8e822138dc5961ccce1e21
+Size (aipy-2.1.0.tar.gz) = 981319 bytes


Home | Main Index | Thread Index | Old Index