April 2015 additions to the ASCL

Twenty-one codes were added to the ASCL in April 2015:

abcpmc: Approximate Bayesian Computation for Population Monte-Carlo code
BGLS: A Bayesian formalism for the generalised Lomb-Scargle periodogram
chimenea: Multi-epoch radio-synthesis data imaging
CosmoTransitions: Cosmological Phase Transitions
D3PO: Denoising, Deconvolving, and Decomposing Photon Observations

DPI: Symplectic mapping for binary star systems for the Mercury software package
drive-casa: Python interface for CASA scripting
EsoRex: ESO Recipe Execution Tool
HOTPANTS: High Order Transform of PSF ANd Template Subtraction
IGMtransmission: Transmission curve computation

JWFront: Wavefronts and Light Cones for Kerr Spacetimes
kozai: Hierarchical triple systems evolution
LineProf: Line Profile Indicators
MCSpearman: Monte Carlo error analyses of Spearman’s rank test
MRrelation: Posterior predictive mass distribution

samiDB: A Prototype Data Archive for Big Science Exploration
Self-lensing binary code with Markov chain
SPA: Solar Position Algorithm
SOAP 2.0: Spot Oscillation And Planet 2.0
UPMASK: Unsupervised Photometric Membership Assignment in Stellar Clusters

WebbPSF: James Webb Space Telescope PSF Simulation Tool

March 2015 additions to the ASCL

Eleven codes were added to the ASCL in March, 2015:

AMADA: Analysis of Multidimensional Astronomical DAtasets
dust: Dust scattering and extinction in the X-ray
Galax2d: 2D isothermal Euler equations solver
GSD: Global Section Datafile access library
HELIOS-K: Opacity Calculator for Radiative Transfer

isochrones: Stellar model grid package
K2flix: Kepler pixel data visualizer
pYSOVAR: Lightcurves analysis
TAME: Tool for Automatic Measurement of Equivalent-width
UniPOPS: Unified data reduction suite

VESPA: False positive probabilities calculator

Closure of Google Code and impact on ASCL records

Google has announced the closure of its Google Code service. Google suggests several courses of action and states, “We … offer stand-alone tools for migrating to GitHub and Bitbucket, and SourceForge offers a Google Code project importer service.”

Please take steps to save your software! If you migrate your code to another site, I would appreciate knowing the new URL. If you are no longer working on your software and do not want to migrate it to another project hosting site, please allow the ASCL to store an archive file (tarball/zip/etc.) of it with the ASCL entry so it remains available to support your written research record, or select another option to preserve your code. If you would like to have the ASCL host an archive file, please contact me; thank you.

Even more data play: Social media and the rest

The pie below shows what percentage of codes in the ASCL have social coding links in their entries, and the Starlink caveat still holds: all the Starlink codes are in one Github repo, so that repo is represented only once in the pie below. These numbers are somewhat low, as some codes offer a webpage/site to which the ASCL links, with that webpage then directing people to a repostitory. If someone does a better analysis, please send it over; I’d love to include it!

socialvseverythingelse

As before, the data are here.

Related posts:
Data play: Social coding sites
More data play: Common domains

February 2015 additions to the ASCL

Twenty-three codes were added in February, 2015:

ADAM: All-Data Asteroid Modeling
AMIsurvey: Calibration and imaging pipeline for radio data
AstroLines: Astrophysical line list generator in the H-band
Camelus: Counts of Amplified Mass Elevations from Lensing with Ultrafast Simulations
HDS: Hierarchical Data System

KAPPA: Optically thin spectra synthesis for non-Maxwellian kappa-distributions
ketu: Exoplanet candidate search code
libnova: Celestial mechanics, astrometry and astrodynamics library
Magnetron: Fitting bursts from magnetars
MaLTPyNT: Quick look timing analysis for NuSTAR data

Montblanc: GPU accelerated Radio Interferometer Measurement Equations in support of Bayesian Inference for Radio Observations
nbody6tt: Tidal tensors in N-body simulations
NGenIC: Cosmological structure initial conditions
OpenOrb: Open-source asteroid orbit computation software
PARSEC: PARametrized Simulation Engine for Cosmic rays

PolyChord: Nested sampling for cosmology
PyBDSM: Python Blob Detection and Source Measurement
Rabacus: Analytic Cosmological Radiative Transfer Calculations
RH 1.5D: Polarized multi-level radiative transfer with partial frequency distribution
ROBOSPECT: Width fitting program

SPHGR: Smoothed-Particle Hydrodynamics Galaxy Reduction
XFGLENSES: Gravitational lens visualizer
XPCell: Convective plasma cells simulator

Data play: Social coding sites

I’ve posted before about where the codes are; here’s a pie that shows the relative use of Github, Google Code, Bitbucket, and Sourceforge. Please note that because all the Starlink codes are in one Github repo, that repo is represented only once in the pie below. Want to do your own analysis? The site links (1080 of them at the moment, as some codes have more than one) are available here.

socialcodingsitepercentages

ASCL visit to NIST

On Thursday, February 12, I visited the National Institute of Standards and Technology (NIST) in Gaithersburg, MD on February 12 to present a seminar titled Restoring reproducibility: Making scientist software discoverable to the research reproducibility users’ group there. Hosted by Chandler Becker and Robert Hanisch, I also had the opportunity to talk with Jim Warren before the presentation; he asked excellent questions during the Q&A, too. Bob and I have often discussed (even argued!) about the amount of metadata the ASCL should maintain, and Jim’s questions were on this point.

After the presentation, I talked with Dan Wheeler, Kimberly Tryka, Andrea Medina-Smith, and Jonathan Guyer. Dan had excellent ideas for the ASCL; as we were standing by the conference room door, I didn’t have the opportunity to write these down but I hope to continue the discussion via email. Kimberly, Andrea, and I talked about metadata, indexing software, and how the ASCL maintains its links to software download sites. We would like to create a way to exchange and share discussion with a larger community and have already started chatting about how to do this in email. Jonathan and I talked generally about the ASCL and how change can occur in a community. After that, Chandler took me to the NIST museum (so cool!) and Bob showed me around a bit before my departure. I had a very interesting and thoroughly enjoyable afternoon!

The abstract and PowerPoint file for my presentation are below; the notes in the slides provide most of the text of my talk, though sometimes simply as bullet points.

Abstract: Source codes are increasingly important for the advancement of science in general and astrophysics in particular. Journal articles meant to detail the general logic behind new results and ideas often do not make the source codes that generated these results available, decreasing the transparency and integrity of the research. The Astrophysics Source Code Library (ASCL) is a registry of scientist-written software used in astronomy research. The challenges of creating and growing the resource will be covered by its current editor, who will also discuss specific steps the ASCL has taken to improve code discovery in astronomy and the effect this work is having within astronomy and more broadly in other research areas.

NISTpresentationslides_Feb12

January 2015 additions to the ASCL

Licensing Astrophysics Codes session at AAS 225

On Tuesday, January 6, the ASCL, AAS Working Group on Astronomical Software (WGAS), and the Moore-Sloan Data Science Environment at NYU sponsored a special session on software licenses, with support from the AAS. This subject was suggested as a topic of interest in the Astrophysics Code Sharing II: The Sequel session at AAS 223.

Frossie Economou from the LSST and chair of the WGAS opened the session with a few words of welcome and stressed the importance of licensing. I gave a 90-second overview of the ASCL before turning the podium over to Alberto Accomazzi from NASA/Astronomy Data System (ADS), who introduced the panel of speakers and later moderated the open discussion (opening slides), after which Frossie again took the podium for some closing remarks. The panel of six speakers discussed different licenses and shared considerations that arise when choosing a license; they also covered institutional concerns about intellectual property, governmental restrictions on exporting codes, concerns about software beyond licensing, and information on how much software is licensed and characteristics of that software. The floor was then opened for discussion and questions.

photo of audience at licensing session

Discussion period moderated by Alberto Accomazzi

Presentations
Some of the main points from each presentation are summarized below, with links to the slides used by the presenters.

    • Copy-left and Copy-right, Jacob VanderPlas (eScience institute, University of Washington)
      Jake extolled everyone to always license codes, as in the US, copyright law defaults to “all privileges retained” unless otherwise specified. He pointed out that “free software” can refer to the freedoms that are available to users of the software. He covered the major differences between BSD/MIT-style “permissive” licensing and GPL “sticky” licensing while acknowledging that the difference between them can be a contentious issue.
      slides (PDF)
    • University tech transfer perspective on software licensing, Laura L. Dorsey (Center for Commercialization, University of Washington)
      Universities care about software licenses for a variety of reasons, Laura stated, which can include limiting the university’s risk, respecting IP rights, complying with funding obligations, and retaining academic and research use rights. She also covered factors software authors may care about, among them receiving attribution, controlling the software, and making money. She reinforced the importance of licensing code and discussed the common components of a software license.
      slides (PDF)
    • Relicensing the Montage Image Mosaic Engine, G. Bruce Berriman (Infrared Processing and Analysis Center, Caltech)
      In last year’s Astrophysics Code Sharing session, Bruce had discussed the limitations of the Caltech license under which the code Montage was licensed; since then, Montage has been relicensed to a BSD 3-Clause License. Following on the heels of Laura’s discussion and serving as a case study for institutional concerns regarding software,  Bruce related the reasons for and concerns about the relicensing, and discussed working with the appropriate office at Caltech to bring about this change.
      slides (PDF)
    • Export Controls on Astrophysical Simulation Codes, Daniel Whalen (Institute for Theoretical Astrophysics, University of Heidelberg)
      image of presentation slide

      Restricted algorithms; image by Adam M. Jacobs

      Dan’s presentation covered some of the government issues that arise from research codes, including why certain codes fall under export controls; a primary reason is to prevent the development of nuclear weapons.Dan also brought up how foreign intelligence agencies collect information and what specific simulations are restricted, and stated that Federal rules are changing, but slowly.
      slides (PDF)

    • Why licensing is just the first step, Arfon M. Smith (GitHub Inc.)
      Arfon went beyond licensing in his presentation to discuss open source and open collaborations, and how GitHub delivers on a “theoretical promise of open source.” He shared statistics on the growth of collaborative coding using GitHub, and demonstrated how a collaborative coding process can work and pointed out that through this exposed process, community knowledge is increased and shared. He challenged the audience to contemplate the many reasons for releasing a project and to ask themselves what kind of project they want to create.
      slides (PDF)
    • Licenses in the wild, Daniel Foreman-Mackey (New York University)
      First, I have to note that Dan made it through 41 slides in just over the six minutes allotted for his talk, covering about seven slides/minute; I don’t know whether to be more impressed with his presentation skills or the audience’s information-intake abilities!

      17% of GitHub repositories examined are licensed

      Percentage of licensed GitHub repos; image by Arfon Smith

      After declaring that he knows nothing about licensing, Dan showed us, and how, that he knows plenty about mining data and extracting information from it. From his “random” selection of 1.6 million GitHub repositories, he noted with some glee that 63 languages are more popular on GitHub than IDL is, the number of repositories with licenses have increased since 2012 to 17%, and that only 28,972 of the 1.6 million mentioned the license in the README file. Dan also determined the popularity of various licenses overall and by language and shared that information as well.
      slides (PDF)

Open Discussion
After Dan’s presentation, Alberto Accomazzi opened the floor for discussion. Takeaway points included:

  • Discuss licensing with your institution; it’s likely there is an office/personnel devoted to deal with these issues
  • This office is likely very familiar with issues you bring to it, including who to refer you to when the issues are outside their purview
  • “Friends don’t let friends write their own licenses.” IOW, select an existing license rather than writing your own
  • License your code
  • Let others know how you want your code cited/acknowledged

My thanks to David W. Hogg, Kelle Cruz, Matt Turk, and Peter Teuben for work — which started last March! — on developing the session, to Alberto for his excellent moderating and to Frossie for opening and closing it. My thanks also to the wonderful Jake, Laura, Bruce, Dan W, Arfon, and Dan F-M for presenting at this session, and to the Moore-Sloan Data Science Environment at NYU and AAS for their sponsorship.

Resources
Many resources on licensing, including excellent posts by Jake and Bruce, can be found here.