Commits

Miguel de Val-Borro committed 99e3cb0 Merge

default branch merge

  • Participants
  • Parent commits 27191c2, b15ddda
  • Branches gildasclass

Comments (0)

Files changed (3)

 CHANGES
 *******
 
+Release 0.1.9
+~~~~~~~~~~~~~
+    * Added `lineid_plot <http://packages.python.org/lineid_plot/>`_ tools
+
 Release 0.1.8
 ~~~~~~~~~~~~~
     * BUGFIX RELEASE
 and different methods of fit plotting.
 
 We're also looking for more users to give us more use cases!  Contact us
-at pyspeckit@gmail.com
+at pyspeckit@gmail.com or post `issues
+<https://bitbucket.org/pyspeckit/pyspeckit.bitbucket.org/issues>`_
 
 
 Requirements:
 Optional:
 `scipy <http://www.scipy.org/>`_
 `lmfit-py <https://github.com/newville/lmfit-py>`_
-
-A good model for our code is `atpy`_, from which we derived inspiration for the
-"register functions" capability.
+`lineid_plot <http://packages.python.org/lineid_plot/>`_
 
 Authors:
 `Adam Ginsburg <adam.g.ginsburg@gmail.com>`_

pyspeckit/spectrum/readers/read_class.py

     
 import pyspeckit
 @print_timing
-def class_to_obsblocks(filename,telescope,line,source,DEBUG=False):
+def class_to_obsblocks(filename,telescope,line,source=None,DEBUG=False):
     """
     Load an entire CLASS observing session into a list of ObsBlocks based on
     matches to the 'telescope' and 'line' names
             continue
         if hdr['LINE'].strip() not in line:
             continue
-        if hdr['SOURC'].strip() not in source:
+        if (source is not None) and (hdr['SOURC'].strip() not in source):
             continue
         hdr.update({'RESTFREQ':hdr.get('RESTF')})
         H.update('RESTFREQ',hdr.get('RESTF'))