Astro-Catalog

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  - IO module for VOTable should be slightly more tolerant
    and not attempt to write non-equatorial sources.
  - Tk::AstroCatalog should not add planets to JCMT catalogs.
  - The Item constructor argument Coords should be processed
    first in case other accessors require coordinates to
    already be in place.

4.37 2023-04-18

  - Tk::AstroCatalog window now resizable.
  - JCMT format updated with addition of proper motion and parallax.
  - More consistent spelling of catalog.

4.36 2021-10-11

  - Added IO modules for VEX, Hedwig and JCMT_OT_SC formats.
  - For Vizier query, generate combined c.rm parameter.
  - Use Astro::Catalog::Item internally instead of Astro::Catalog::Star.
  - Added catalog_convert script to convert catalogs between formats.

4.35 2020-04-28

Changes  view on Meta::CPAN


  - Fix test 4_skycat_gsc.t for users who have a SkyCat configuration
    file which does not include "gsc@eso".

4.30 2014-01-31

  - Catalogs can now be sorted by distance in azimuth.

4.29 2013-11-27

  - JCMT test script updated for the addition of Mercury.

4.28 2013-11-27

  - Mercury has been added to the list of planets to be included
    in the JCMT catalog.

4.27 2013-06-05

  - Test scripts skip query tests in the event of network problems.

Changes  view on Meta::CPAN


4.22 2012-06-20

  - Use File::Temp for temporary files in tests.
  - Can now take IO::Handle objects for read_catalog and
    write_catalog.

4.21 2012-06-18

  - Remove code that relies on CVS $Revision$ tags. Those
    modules have now been updated to v2.00 to ensure that they
    are seen as new.

4.2 2012-06-18

  - The MPC web service seems to have changed so MPC is not functioning
    in this release.

  - Added FITSTable, ASSM, NorthStar, Binary, RITMatch, XY
    and LCOGFITSTable formats.
  - Now uses Module::Build

lib/Astro/Catalog/Item.pm  view on Meta::CPAN

}

=item B<comment>

Return (or set) a comment associated with the star

    $comment = $star->comment();
    $star->comment($comment_string);

The comment is propogated to the underlying coordinate
object (if one is present) if the comment is updated.

=cut

sub comment {
    my $self = shift;
    if (@_) {
        $self->{COMMENT} = shift;

        my $c = $self->coords;
        $c->comment($self->{COMMENT}) if defined $c;

lib/Tk/AstroCatalog.pm  view on Meta::CPAN

the screen (ie no button to close the window without a selection)

The "-addCmd" callback is triggered whenever a source is selected
from the widget. If the widget is transient the widget will be
closed after the first add is triggered.

The "-onDestroy" callback is triggered when the "Done" button is
pressed.

The "-upDate" method is triggered whenever the contents of the
catalog widget are refreshed/updated.

It makes more sense for this widget to work like Tk::FileSelect
when used in transient mode since we want to get the answer back
rather than enter an event loop.

The "-customColumns" method can be used to add additional columns
to the display.  This is an array of hashes specifying the
title, width and generator function for each column.  This generating
function will be called with an Astro::Catalog::Item and must
return a string of the given width.

t/2_jcmt.t  view on Meta::CPAN

*          Spectral-line 5-point sources also bright enough for continuum work
*      SPECTRAL LINE CALIBRATORS
*      SPECTRAL LINE FIVEPOINT SOURCES
*
*---------------------------------------------------------------------------------
*  Revisions :
*
* 1996 Jul 09 - original verison (?) (GS)
* 1996 Nov 24 - Modified holography source position (REH)
* 1997 Aug 29 - Modified holography position (RMP/GHLS)
* 1999 Nov 03 - updated coords to J2000, see notes (IMC - until next change)
* 2001 Feb 23 - updated 850um fluxes for 'new' blazars
* 2001 Mar 12 - add need for 120" chop for DG Tau
* 2001 Jul 02 - updated 0.85mm fluxes based on last 1.5years of data, for
*                - 76% of original blazars
*                - 51% of new blazars
*                - all but 5 continuum (non-blazar) sources
* 2002 Jan 04 - Several spectral-fivepoint objects were revealed as having
*               inaccurate coordinates. Previously, SIMBAD coordinates were used.
*               Size and sense of errors supported adoption of coordinates by
*               Loup et al (1993, A&AS 99, 291)
*               (which formed the basis of the 1950.0 version of this catalog).
*               Loup shows good correlation, for late type stars with HD numbers,
*               with the Hipparcos catalog.
*               Particular objects have caught the attention of observing staff
*               in the last couple of months (CIT6, V370Aur, V636Mon, all stars,
*               note) and in each case the Loup et al (1993) coordinates would
*               have provided better service. Previous updates for CIT6, IRC-10502,
*               GL865 superseded without loss of accuracy by Loup's coordinates.
*
* 2002 Apr 10 - updated HOLO position
* 2002 May 02 - 2 candidates from EIR added, 1622-2**
* 2002 Aug 20 - names of 0954+658 and 1739+522 correctly installed
* 2002 Nov 08 - coordinates for VYCMa & oh231.8 consolidated
* 2002 Dec 26 - Dec coords for o Ceti corrected - previousd update erroneous
* 2003 Jan 28 - Observatory program targets & Targets-Of-Opportunity removed
* 2003 Mar 20 - Addition of [c] [s] or [cs] as first characters of Comments field
*               to indicate utility as c-ontinuum or s-pectral-fivepoint
*               pointing sources. [cs] is for those suitable for both, with
*               a limiting brightness for normally [s] sources of 0.2Jy
* 2003 Jun 09 - 12 sp-line 5-point sources added (suggested by Thomas Lowe)
*             - 3 sp-line 5-pt sources (WXPsc, oCeti, CIT6) given [c] status also
* 2003 Jun 20 - VCyg coords consolidated
* 2004 Mar 29 - 5 additional CO:2-1 spectral-line sources added (courtesy TBL)
* 2004 May 04 - GL5379 removed - position uncertain by 11" (JW)
* 2004 Dec 13 - updated 850um fluxes
* 2004 Dec 14 - addition of bright (>0.3Jy) detections by m04bu23 (Ian Browne)
* 2004 Dec 19 - o Ceti coords updated to 2005.0 for proper motion
* 2005 Jan 28 - routine update of blazar brightnesses
* 2005 Mar 30 - routine update of blazar brightnesses
* 2005 Apr 19 - add BVP1 (courtesy V.Barnard)
* 2005 Jul 01 - rationalization of velocities for L1551-IRS1, OH231.8, NGC6334I
* 2005 Jul 12 - W3(OH) : position updated to that by ICRS
* 2005 Sep 12 - offset positions for W3(OH) & L1551-IRS5 corrected
* 2006 Feb 13 - include 1153+495 (thank you J.Hoge)
* 2007 Mar 02 - add possible maser source IRC+20326M
* 2007 May 04 - add comments for G45.1 = G45.07+0.13
* 2007 Jul 09 - update Loup sources for Hipparcos positions
*             - use p.m.s appropriate for 2010
*             - delete IRC+20326M (spurious); add NGC6563; correct VXSgr
* 2007 Jul 10 - add 3 stars from m07ai05
* 2007 Jul 17 - Notes for sp.line pointing sources to include
*               Loup class/quality and Hipparcos update if applicable

t/2_jcmt.t  view on Meta::CPAN

*             - 03313+6058, 19454+2920, 21554+6204, 23321+6545, because too weak or too much unrelated
*             - emission (VXSgr)
*             - Added KUAnd, SCas, HL278, GL341, Betelgeuse, GL971, YLyn, RSCnc, IWHya, IRC-10236, RCrt, HD102608,
*             - SWVir, RHya, OH338.1+6.4, 16594-4656, GL6815S, GL5379, RVAqr, TCep, EPAqr, GL3099
*             - Results from M13BN01 and M14AN01
* 2015 Sep 11 - New RxA data for Pi1Gru, 16594-4656, GL6815S, TCep, EPAqr
* 2015 Oct 21 - New RxA data for GL5379
* 2015 Oct 27 - new flux for 0528+134
* 2015 Nov 19 - new fluxes for blazars observed with SCUBA-2 between 20150301 and 20151116
* 2015 Nov 20 - corrected positions for 5 'desperate' continuum sources (CenA position was wrong since 2012 Oct 10)
*             - Corrected coordinate system for IRC+10401 and updated position (RJ instead of RL).
* 2015 Dec 07 - new fluxes for blazars observed with SCUBA-2 between 20151116 and 20151123
*             - removed heterodyne standard sources (these are not good for spectral line pointing)
*             - updated RxA info RVAqr
* 2016 Jan 20 - new fluxes for blazars observed with SCUBA-2 between 20151217 and 20160120
* 2016 Feb 22 - new fluxes for blazars observed with SCUBA-2 between 20160121 and 20160222
* 2016 Apr 23 - new fluxes for blazars observed with SCUBA-2 between 20160223 and 20160423
* 2016 May 26 - new fluxes for blazars observed with SCUBA-2 between 20160424 and 20160526
* 2016 Jun 23 - new fluxes for blazars observed with SCUBA-2 between 20160527 and 20160623
* 2016 Oct 10 - new fluxes for blazars observed with SCUBA-2 between 20160623 and 20161010
*               comment out duplicate name 3C454.3 (2251+158), second entries for MWC349A, V645Cyg
*               optical positions instead of SCUBA positions for Sandell 2011 sources
* 2016 Oct 26 - corrected position oCeti for proper motion to 2017.0
* 2016 Nov 21 - corrected star positions for proper motion to 2017.0, where available (indicated by pm)
* 2017 Jun 01 - new fluxes for blazars observed with SCUBA-2 between 20161011 and 20170531
* 2017 Jun 02 - removed duplicates PKS0106 (= 0106+013) and 3C120 (= 0430+052)
* 2017 Sep 18 - corrected coordinates GL2494 (were off -10.1, -2.4 arcsec - wrong 2MASS source position)
* 2017 Oct 03 - updated information for GL2494 after obtaining new data
* 2017 Oct 04 - new fluxes for blazars observed with SCUBA-2 between 20170601 and 20171004
* 2018 Mar 27 - new fluxes for blazars observed with SCUBA-2 between 20171004 and 20180309
* 2019 May 23 - new fluxes for blazars observed with SCUBA-2 between 20180310 and 20190522
* 2019 May 23 - added GL5552, V1426Cyg, and 08074-3615
* 2020 Dec 07 - added GL1822
* 2022 Mar 28 - removed VirgoA
*
* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
* SCUBA-2 CALIBRATORS
* SOURCE        RA            DEC          EQUI  VEL    FLUX   RANGE FRAME DEF   Comments

t/2_jcmt.t  view on Meta::CPAN

*3C454.3        22 53 57.748 + 16 08 53.56 RJ    n/a     3.17    n/a  LSR  RADIO [c] [S2] 20190315
2251+158        22 53 57.748 + 16 08 53.56 RJ    n/a     3.17    n/a  LSR  RADIO [c] [S2] 20190315
2255-282        22 58 05.963 - 27 58 21.26 RJ    n/a     2.37    n/a  LSR  RADIO [c] [S2] 20190508
2318+049        23 20 44.857 + 05 13 49.95 RJ    n/a     0.41    n/a  LSR  RADIO [c] [S2] 20181029
2345-167        23 48 02.609 - 16 31 12.02 RJ    n/a     1.19    n/a  LSR  RADIO [c] [S2] 20190421
*
* The 5 sources below were not carried over from the original (RB) version
* due to inaccuracies in their positions, but they are repeated here in
* case of desperation - 3c111 and CenA in particular are too strong to
* discard completely.
* On 20151120 updated to accurate RJ positions from NED database.
*
0954+556        09 57 38.184 + 55 22 57.77 RJ    n/a     0.10    n/a  LSR  RADIO [c] [S2] 20181114
1219+285        12 21 31.691 + 28 13 58.50 RJ    n/a     0.10    n/a  LSR  RADIO [c] [S2] 20180713
CENA            13 25 27.615 - 43 01 08.81 RJ    n/a     9.82    n/a  LSR  RADIO [c] [S2] 20181210
1716+686        17 16 13.938 + 68 36 38.74 RJ    n/a     0.10    n/a  LSR  RADIO [c] [S2] 20180713
CygA            19 59 28.357 + 40 44 02.10 RJ    n/a     0.41    n/a  LSR  RADIO [c] [S2] 20180721
*
* 76 of the next 78 blazars are new to this version of the catalog
* see http://www.jach.hawaii.edu/JACpublic/JCMT/pointing/point2000.html
* for a description of their inclusion.



( run in 0.308 second using v1.01-cache-2.11-cpan-05444aca049 )