Metadata-Version: 2.1
Name: ktaga-lab
Version: 0.1.3
Summary: Drivers for the experimental setup and tools for data acquisition and analysis.
License: MIT
Author: Kotaro Taga
Author-email: taga.kotaro.62d@st.kyoto-u.ac.jp
Requires-Python: >=3.11,<3.13
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: black (>=22.10.0,<23.0.0)
Requires-Dist: dash (>=2.14.2,<3.0.0)
Requires-Dist: h5py (>=3.7.0,<4.0.0)
Requires-Dist: holoviews[recommended] (>=1.18.1,<2.0.0)
Requires-Dist: hvplot (>=0.9.2,<0.10.0)
Requires-Dist: ipywidgets (>=8.1.1,<9.0.0)
Requires-Dist: isort (>=5.13.2,<6.0.0)
Requires-Dist: jupyterlab (>=4.0.12,<5.0.0)
Requires-Dist: kaleido (==0.2.1)
Requires-Dist: lmfit (>=1.2.2,<2.0.0)
Requires-Dist: matplotlib (>=3.8.2,<4.0.0)
Requires-Dist: nbconvert (>=7.14.2,<8.0.0)
Requires-Dist: nidaqmx (>=0.9.0,<0.10.0)
Requires-Dist: numpy (>=1.26.3,<2.0.0)
Requires-Dist: pandas (>=1.5.3,<2.0.0)
Requires-Dist: pandoc (>=2.3,<3.0)
Requires-Dist: plotly (>=5.18.0,<6.0.0)
Requires-Dist: pyserial (>=3.5,<4.0)
Requires-Dist: python-lsp-server[all] (>=1.10.0,<2.0.0)
Requires-Dist: pythonnet (>=3.0.3,<4.0.0)
Requires-Dist: pyvisa (>=1.14.1,<2.0.0)
Requires-Dist: qcodes (>=0.43.0,<0.44.0)
Requires-Dist: scikit-rf (>=0.31.0,<0.32.0)
Requires-Dist: scipy (>=1.12.0,<2.0.0)
Requires-Dist: sympy (>=1.12.0,<2.0.0)
Requires-Dist: tqdm (>=4.66.1,<5.0.0)
Requires-Dist: xarray (>=2023.12.0,<2024.0.0)
Requires-Dist: zhinst (>=23.10.3,<24.0.0)
Requires-Dist: zhinst-qcodes (>=0.5.3,<0.6.0)
Description-Content-Type: text/markdown

# ktaga-lab

## Overview
ktaga-lab contains programs for experiments in Onolab. This repository is designed to facilitate various experimental setups and data analysis tasks.

## Features
- Experiment setup scripts
- Data analysis tools
- Reproducible research environment

## Prerequisites
To run this project, you need to install either of the following dependencies:
- Poetry
- Docker (for analysis only)

Docker can be used for only data analysis tasks. For experiment setup, you need to install the dependencies using Poetry.

## Setup

### Installation using Poetry

1. **Install Poetry:**
    - **Linux/macOS:**
      ```bash
      curl -sSL https://install.python-poetry.org | python3 -
      ```
    - **Windows (PowerShell):**
      ```powershell
      (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
      ```

2. **Setup environment**

    Please make a pyproject.toml file in your directory for experiment or analysis. You can use a template file `pyproject-env.toml` provided in the repository.
    After creating the file, run the following command to install the dependencies:
    ```bash
    poetry install
    ```

3. **Install ktaga-lab:**
    ```bash
    poetry add ktaga-lab
    ```

4. **Run the application:**
    ```bash
    poetry run jupyter lab
    ```

### Docker Setup

1. **Clone the repository:**
    ```bash
    git clone https://github.com/hoopdev/ktaga-lab.git
    cd ktaga-lab
    ```

2. **Build the Docker image:**
    Use the `Dockerfile` provided in the repository:
    ```bash
    docker build -t ktaga-lab-image .
    ```

3. **Run the Docker container:**
    ```bash
    docker run --rm -p 8888:8888 ktaga-lab-image
    ```

## Access the application

Open your web browser and navigate to `http://localhost:8888` to access the JupyterLab interface.

## Usage
To use the tools and scripts provided in this repository, follow the instructions in the respective directories and files. Detailed documentation for each tool and script can be found within the repository.


## License
This project is licensed under the MIT License. See the `LICENSE` file for more details.

