python
132 posts — page 3
-
PySM 3.4.1 Released
PySM version 3.4.1 is now available. It can be downloaded from PyPI. The release notes detail new features and improvements.
-
healpy 1.18.1 released
Just released healpy 1.18.1, this version includes important bug fixes, please test and open issues at Major improvements in this release:
-
New paper on arXiv about models of Galactic emission in the microwaves for CMB experiments
A new paper has been published on Arxiv discussing models of Galactic emission in the microwaves for Cosmic Microwave Background (CMB) experiments:
-
Deploy an LLM ChatGPT-like service on Jetstream
In this tutorial we will deploy a LLM Chat-GPT like service on a GPU node on Jetstream. However the same instructions can be used to deploy any other model available on the Hugging Face model hub.
-
Tutorial on Python for HPC at the SDSC Summer Institute 2024
Each August the San Diego Supercomputer Center organizes a week-long summer school that teaches a large number of topics related to Supercomputing and AI to early career scientists.
-
Run (part of) healpy in the browser with pyodide
Thanks to the help of @VeerioSDSC and Rick Wagner, I have been able to run part of healpy in the browser. For now only tested reading FITS maps and plotting with projview.
-
Conditional authentication on a single endpoint with FastAPI
Building on my previous tutorial, I have now implemented a toy FastAPI application which requires authentication based on query parameters.
-
Deploy a web server with automatic HTTPS for static website and Django app on Jestream 2
As part of my work to support the Jetstream 2 Openstack deployment at Indiana University, I have developed a tutorial that explains how to create a Virtual Machine that deploys the Caddy web server.
-
Authenticate FastAPI endpoints with a GitHub organization
FastAPI is a framework that simplifies building APIs in Python. Authentication via Google, Github and many more is provided by FastAPI-SSO.
-
Jupyter Notebook frontmatter for Quarto to download source notebook
Quarto is one of the best platforms to create statically generated blogs with Markdown and Jupyter Notebooks. I switched zonca.dev to Quarto back in 2022.
-
2024-05-28-ai-code-assistant-jupyter-nersc
If you are used to Github Copilot on VS Code or on Google Colaboratory as I am, coding without an AI assistant is so slow!
-
Interactive 3D plot of a Planck map with Matplotlib
This is an update of my older tutorial Unfortunately I was not able to make Mayavi properly plot the data, rerunning the same code would give a map that looked like uniform noise.
-
Load data from Globus in the browser and plot with pyscript
Globus supports a Javascript SDK which allows to authenticate against Globus Auth and then access all the Globus services, for example accessing protected data or setting up transfers between endpoints.
-
News item on SDSC website about Advanced Simons Observatory and PySM
In collaboration with the SDSC Communications team I prepared a news item for the SDSC Website announcing my participation in the Advanced Simons Observatory project focusing on my work on supporting PySM.
-
Setup a conda environment at NERSC
NERSC recommends to use the "Global Common" to store Conda environments, because it is optimized to store lots of small files. Consider that it is mounted read-only on computing nodes. The filesystem is organized by groups, so choose one of your groups: