Astrophysics > Solar and Stellar Astrophysics
[Submitted on 5 Sep 2014]
Title:GrayStar: A Web application for pedagogical stellar atmosphere and spectral line modelling and visualisation II: Methods
View PDFAbstract:GrayStar is a stellar atmospheric and spectral line modelling, post-processing, and visualisation code, suitable for classroom demonstrations and laboratory-style assignments, that has been developed in Java and deployed in JavaScript and HTML. The only software needed to compute models and post-processed observables, and to visualise the resulting atmospheric structure and observables, is a common Web browser. Therefore, the code will run on any common PC or related X86 (-64) computer of the type that typically serves classroom data projectors, is found in undergraduate computer laboratories, or that students themselves own, including those with highly portable form-factors such as net-books and tablets. The user requires no experience with compiling source code, reading data files, or using plotting packages. More advanced students can view the JavaScript source code using the developer tools provided by common Web browsers. The code is based on the approximate gray atmospheric solution and runs quickly enough on current common PCs to provide near-instantaneous results, allowing for real time exploration of parameter space. I describe the computational strategy and methodology as necessitated by Java and JavaScript. In an accompanying paper, I describe the user interface and its inputs and outputs and suggest specific pedagogical applications and projects. I have made the application itself, and the HTML, CSS, JavaScript, and Java source files available to the community. The Web application and source files may be found at this http URL.
Current browse context:
astro-ph.SR
Change to browse by:
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.