Work

Jupyter widgets and extensions for education and research in computational physics and chemistry

Year: 2024
Type: article
Abstract: Interactive notebooks are a precious tool for creating graphical user interfaces and teaching materials. Python and Jupyter are becoming increasingly popular in this context, with Jupyter widgets at the core of the interactive functionalities. However, while packages and libraries which offer a broad range of general-purpose widgets exist, there is limited development of specialized widgets for computational physics , chemistry and materials science. This deficiency implies significant time investments for the development of effective Jupyter notebooks for research and education in these domains. Here, we present custom Jupyter widgets that we have developed to target the needs of these communities. These widgets constitute high-quality interactive graphical components and can be employed, for example, to visualize and manipulate data, or to explore different visual representations of concepts, clarifying the relationships existing between them. In addition, we discuss with one example how similar functionality can be exposed in the form of JupyterLab extensions, modifying the JupyterLab interface for an enhanced user experience when working with applications within the targeted scientific domains. Program Title: Development of Jupyter widgets and extensions for computational physics and chemistry CPC Library link to program files: https://doi.org/10.17632/7n2r2xh44k.1 Developer's repository links : https://github.com/osscar-org/widget-bzvisualizer https://github.com/osscar-org/widget-periodictable https://github.com/osscar-org/widget-bandsplot https://github.com/osscar-org/jupyterlab-mol-visualizer Licensing provisions: BSD 3-clause Programming language: JavaScript, TypeScript, Python Nature of problem: Interactive widgets can greatly enhance the learning process of students when used as components of educational notebooks, and streamline day-to-day research tasks of scientists when employed within research workflows leveraging the Jupyter ecosystem. Unfortunately, there is still a lack of specialized widgets tailored for use in computational physics or chemistry. Due to this, user experience and time-to-development or adoption of software tools of this kind are still poor. Solution method: We have developed a number of high-quality and versatile Jupyter widgets and extensions, delivering customized visual software components for computational physics and chemistry. These tools considerably enhance education and research applications in these domains. Our widgets have already been adopted in several educational or research tools. The software is available and open source, facilitating adoption.
Language: English
Subfield: Software
Open Access status: hybrid
Estimated APC paid: $3,410
OpenAlex ID: W4401760437
FWCI: 2.664
Cites: 20
Cited by: 12
Related to: 10