Giter Site home page Giter Site logo

jyoonc / taco Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hits-tos/taco

0.0 0.0 0.0 32.84 MB

Tools for Automated Characterisation of Oscillations

License: MIT License

Shell 0.26% Python 55.51% R 41.92% Jupyter Notebook 1.68% Dockerfile 0.39% Rich Text Format 0.23%

taco's Introduction

Build Status

Tools for Automated Characterisation of Oscillations (TACO)

The TACO modules will be restructured to be fully pythonic. Please find the heritage bash modules here.

Git usage

It is recommended to use git for downloading the TACO source code

git clone --recurse-submodules https://github.com/HITS-TOS/TACO.git

The dependency sloscillations is integrated as a git submodule and will be available using --recurse-submodules during git clone. If the flag was not used, it can be done afterwards with

git submodule update --init --recursive

Note: As long as the repository is private a personal access token is needed for the authentication.

Tests (mostly not functioning, ignore)

Tests are implemented using pytest and can be executed with

python3 -m pytest

Jupyterlab (functional, but not recommended)

The Jupyterlab docker container provides a comfortable way to perform TACO modules and can by started with

docker build -t taco-jupyterlab -f .devcontainer/Dockerfile-jupyterlab .
docker run -it --rm -p 8888:8888 taco-jupyterlab

Open the printed URL in your browser to access Jupyterlab. The jupyter notebook work/pipeline.ipynb is a good starting point.

Install and run TACO with conda

a) On Ubuntu

Basing on Miniconda, you can create a virtual environment for TACO by executing the following command in a terminal window;

conda env create -f environment.yml

Before running TACO the virtual environment has to be activated:

conda activate taco

b) On Windows

TO run TACO on a Windows machine, we recommend to use the Windows Subsystem for Linux (WSL). This can easily be set up by running in a PowerShell terminal (as admin)

wsl --install

An installation guide and additional requirements for the Ubuntu subsystem can be found here.

After setting up the subsytem, download the Anaconda Installer for Ubuntu and copy it onto the Ubuntu machine (accessible through File Explorer). By executing the following command in an Ubuntu terminal, you can install Anaconda on your Ubuntu subsystem.

bash /Path/to/installer/Anaconda3-2024.xx-x-Linux-x86_xx.sh

Next you need to create a virtual environment for TACO by executing the following command in an Ubuntu terminal window:

conda env create -f environment.yml

Before running TACO the virtual environment has to be activated:

conda activate taco

c) On MAC OS

Note

It is recommended to use the Intel Anaconda version (not M1/M2/M3 -chip specific) to run TACO.

Basing on Miniconda, you can create a virtual environment for TACO by executing the following command in a terminal window;

conda env create -f environment.yml

Before running TACO the virtual environment has to be activated:

conda activate taco

Running high-throughput pipeline

For processing a long list of stars the high-throughput pipeline is available. Before running the pipline, please execute

export PATH=$PWD/src:$PATH
export PYTHONPATH=$PWD/src:$PWD/libs/sloscillations:$PYTHONPATH

once from the TACO root directory. Then the high-troughput pipline can be started with

pipeline.py -i <input directory> -s <settings file>

taking every <name>.dat file in the input directory and write the results in a directory <name>. A settings file with all entries is available at pipeline/pipeline_settings_full.yaml.

Tip

Copy the settings-file into a result directory and executing the pipeline from there, leaves the run parameters documented.

Tested operation system architectures

TACO conda high-throughput pipeline was tested on:

  • Linux (Ubuntu and CentOS)
  • MacOS (Intel and M1-Chip)
  • Windows 11 using WSL 2

taco's People

Contributors

bernddoser avatar jyoonc avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.