Skip to content

Latest commit

 

History

127 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIfA telescope data reduction tutorial

This repository contains the source files of the tutorial.

Read the tutorial here: https://aifatelescope.github.io/datared

The website is build with Jupyter Book: https://jupyterbook.org/en/stable/intro.html

Installation

Note that we are currently usding the "old" V1 version of Jupyter Book, you'll have to adapt the following to get this v1 instead of the current v2.

Software to build the book:

Get anaconda or miniconda, and set up an environnment with:

conda create -n jupyter-book
conda activate jupyter-book
conda install -c conda-forge jupyter-book

pip install ghp-import # script to push the build html to a dedicated branch on github, for use by github-pages

Building and updating the book

Currently GitHub Actions is not configured to build the book, we use ghp-import instead.

So the process is:

jupyter-book build book/

# clean with: jupyter-book clean --all book/

You can now preview the book in your local browser, as mentioned in the output of the above command. If happy:

ghp-import -n -p -f book/_build/html

This pushes the book to the branch gh-pages. From there it is automatically served online (maybe with a few minutes delay).

Build LaTeX version (https://jupyterbook.org/v1/advanced/pdf.html) :

jb build book/ --builder latex

And then build with XeLaTeX

About

Data reduction tutorial

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages