Alyssa Goodman edited Linking Code.md  over 9 years ago

Commit id: be1450f167007768bc455b42006466ee8b6de6e7

deletions | additions      

       

# Linking ##  Code In the modern practice of astronomy a paper is often linked to a swath of computer code that outputs both the numerical conclusions of the paper (e. g. parameter estimates and errors) and the associated figures. Since reproducibility is a bedrock principle of the scientific method, we believe that easy access to underpinning code is crucial part of future publications.   ## Links to Software Programs  By combining tools discussed elsewhere in this document, once can "mint" digital object identifiers that point to a particular version of software, assuming it is stored in an organized repostitory. One example is given here: https://guides.github.com/activities/citable-code/, on a web page that shows how to mint a citable DOI for code using the [GitHub](http://github.com) and [Zenodo] (http://zenodo.org) services together. In a model more directly akin to publishing code in exactly the way one currently publishes a paper, services like the [Astrophysics Source Code Library (ASCL)](ascl.net) allow authors to publish a static version of a program, and to assign that version an identifier. At present, The ASCL is indexed by the SAO/NASA Astrophysics Data System (ADS) and is citable by using the unique ascl ID assigned to each program.