Analysis tool for TanQ/FunQ project
Project description
Haniwers : ハニワーズ
墳Qの解析コード(個人用)
概要
宇宙線検出器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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
haniwers-1.23.0-py3-none-any.whl
(220.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
373901fa48576ff8706fdc369bc261d7ff3955c4438f3dc25d72a43ff3cb1794
|
|
| MD5 |
550d34a6fa8bfcaadc9845763239f833
|
|
| BLAKE2b-256 |
5a2dfab2e4fb4ddbc74237da09aba3550eb95b16ba204f0a7ddf279f5eaa66c0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a620cad43905a5b3c02e183fc130ac41cdf4defc2f888acc8a59bba27b125084
|
|
| MD5 |
8f9c771f815f1db792a653bcdf996b70
|
|
| BLAKE2b-256 |
b0585d98df387cdcd6cae65fa0c9046bf7e051b24919b04e31f3baac942ccacc
|