Skip to main content

Analysis tool for TanQ/FunQ project

Project description

GitLab Tag PyPI - Python Version GitLab License Gitlab Pipeline Status GitLab Last Commit


Haniwers : ハニワーズ

墳Qの解析コード(個人用)

w:300

概要

宇宙線検出器OSECHIでデータを取得・解析するPythonツール。

  • ✅ データ取得(DAQ)
  • ✅ データ処理・解析
  • ✅ スレッショルド測定

ユーザー向け:インストール

インストール方法

推奨:pipx を使用

# 基本インストール(DAQ + データ処理 + 解析)
pipx install haniwers

# オプション:閾値可視化(hvplot)
pipx install "haniwers[analysis]"

# オプション:Notebook分析(plotly, altair)
pipx install "haniwers[viz]"

# 全機能
pipx install "haniwers[all]"

# 動作確認
haniwers --help

詳細ドキュメント

基本的な使い方

# バージョン確認
$ haniwers version

# シリアルポート確認
$ haniwers port list
$ haniwers port test /dev/ttyUSB0

# データ取得(DAQ)
$ haniwers daq --config daq.toml

# データ処理・変換
$ haniwers preprocess input.raw output.csv

# 閾値スキャン
$ haniwers scan --config scan.toml

# 閾値フィッティング
$ haniwers fit data.csv

詳細は各コマンドのヘルプを確認:

haniwers daq --help
haniwers scan --help

開発者向け:開発に参加する

開発環境セットアップ

環境構築(推奨方法)

# 1. リポジトリをクローン
git clone https://gitlab.com/qumasan/haniwers.git
cd haniwers

# 2. 開発環境をセットアップ(Poetry)
poetry install

# 3. テスト実行
task test

# 4. コード品質チェック
task format:check
task lint:fix

# 5. CLIを試す
poetry run haniwers --help

よく使うコマンド

# テストを実行
task test

# コードをフォーマット・チェック
task format
task lint:fix

# ドキュメントをプレビュー
task livehtml

# 詳細は以下で確認
task --list

詳細リソース


リンク

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haniwers-1.23.0.tar.gz (175.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

haniwers-1.23.0-py3-none-any.whl (220.3 kB view details)

Uploaded Python 3

File details

Details for the file haniwers-1.23.0.tar.gz.

File metadata

  • Download URL: haniwers-1.23.0.tar.gz
  • Upload date:
  • Size: 175.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.7 Darwin/24.6.0

File hashes

Hashes for haniwers-1.23.0.tar.gz
Algorithm Hash digest
SHA256 373901fa48576ff8706fdc369bc261d7ff3955c4438f3dc25d72a43ff3cb1794
MD5 550d34a6fa8bfcaadc9845763239f833
BLAKE2b-256 5a2dfab2e4fb4ddbc74237da09aba3550eb95b16ba204f0a7ddf279f5eaa66c0

See more details on using hashes here.

File details

Details for the file haniwers-1.23.0-py3-none-any.whl.

File metadata

  • Download URL: haniwers-1.23.0-py3-none-any.whl
  • Upload date:
  • Size: 220.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.7 Darwin/24.6.0

File hashes

Hashes for haniwers-1.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a620cad43905a5b3c02e183fc130ac41cdf4defc2f888acc8a59bba27b125084
MD5 8f9c771f815f1db792a653bcdf996b70
BLAKE2b-256 b0585d98df387cdcd6cae65fa0c9046bf7e051b24919b04e31f3baac942ccacc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page