graphica-plot 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphica/Graphica.ico +0 -0
- graphica/__init__.py +1 -0
- graphica/__main__.py +111 -0
- graphica/assets/__init__.py +0 -0
- graphica/assets/icons/__init__.py +0 -0
- graphica/assets/icons/arrow-right.svg +21 -0
- graphica/assets/icons/bold.svg +20 -0
- graphica/assets/icons/calculator.svg +26 -0
- graphica/assets/icons/chart-histogram.svg +24 -0
- graphica/assets/icons/chart-line.svg +20 -0
- graphica/assets/icons/chevron-down.svg +19 -0
- graphica/assets/icons/chevron-right.svg +19 -0
- graphica/assets/icons/color-swatch.svg +22 -0
- graphica/assets/icons/column-insert-right.svg +21 -0
- graphica/assets/icons/column-remove.svg +21 -0
- graphica/assets/icons/copy.svg +20 -0
- graphica/assets/icons/download.svg +21 -0
- graphica/assets/icons/edit.svg +21 -0
- graphica/assets/icons/eye-off.svg +21 -0
- graphica/assets/icons/eye.svg +20 -0
- graphica/assets/icons/file-plus.svg +22 -0
- graphica/assets/icons/folder-plus.svg +21 -0
- graphica/assets/icons/folder.svg +19 -0
- graphica/assets/icons/highlight.svg +22 -0
- graphica/assets/icons/history.svg +20 -0
- graphica/assets/icons/italic.svg +21 -0
- graphica/assets/icons/layout-grid.svg +22 -0
- graphica/assets/icons/math-function.svg +22 -0
- graphica/assets/icons/message-2.svg +21 -0
- graphica/assets/icons/mountain.svg +20 -0
- graphica/assets/icons/palette.svg +22 -0
- graphica/assets/icons/pointer.svg +19 -0
- graphica/assets/icons/refresh.svg +20 -0
- graphica/assets/icons/row-insert-bottom.svg +21 -0
- graphica/assets/icons/row-remove.svg +21 -0
- graphica/assets/icons/search.svg +20 -0
- graphica/assets/icons/select-all.svg +35 -0
- graphica/assets/icons/subscript.svg +20 -0
- graphica/assets/icons/superscript.svg +20 -0
- graphica/assets/icons/table.svg +21 -0
- graphica/assets/icons/trash.svg +23 -0
- graphica/assets/icons/typography.svg +23 -0
- graphica/assets/icons/x.svg +20 -0
- graphica/core/__init__.py +0 -0
- graphica/core/analysis.py +1278 -0
- graphica/core/app_paths.py +35 -0
- graphica/core/axis_settings.py +128 -0
- graphica/core/caption_export.py +47 -0
- graphica/core/color_palettes.py +56 -0
- graphica/core/commands.py +226 -0
- graphica/core/cvd_simulation.py +49 -0
- graphica/core/dataset.py +443 -0
- graphica/core/diagnostics.py +105 -0
- graphica/core/excel_utils.py +58 -0
- graphica/core/fit_models.py +379 -0
- graphica/core/grid_data.py +128 -0
- graphica/core/i18n.py +44 -0
- graphica/core/json_utils.py +27 -0
- graphica/core/label_utils.py +21 -0
- graphica/core/methods_text.py +115 -0
- graphica/core/named_colors.py +126 -0
- graphica/core/plugin_api.py +515 -0
- graphica/core/plugin_context.py +167 -0
- graphica/core/plugin_install.py +82 -0
- graphica/core/plugin_manifest.py +67 -0
- graphica/core/plugin_testing.py +213 -0
- graphica/core/plugin_types.py +118 -0
- graphica/core/provenance.py +19 -0
- graphica/core/report_export.py +51 -0
- graphica/core/safe_eval.py +194 -0
- graphica/core/script_export.py +272 -0
- graphica/core/translations_en.py +530 -0
- graphica/core/unit_conversion.py +51 -0
- graphica/core/update_check.py +43 -0
- graphica/core/version.py +14 -0
- graphica/gui/__init__.py +0 -0
- graphica/gui/app_settings.py +119 -0
- graphica/gui/axis_bindings.py +173 -0
- graphica/gui/binding.py +135 -0
- graphica/gui/builders/__init__.py +1 -0
- graphica/gui/builders/axis_panel.py +431 -0
- graphica/gui/builders/canvas_area.py +176 -0
- graphica/gui/builders/common.py +120 -0
- graphica/gui/builders/dataset_panel.py +433 -0
- graphica/gui/builders/property_sections.py +208 -0
- graphica/gui/canvas.py +519 -0
- graphica/gui/color_history.py +47 -0
- graphica/gui/color_picker_widget.py +198 -0
- graphica/gui/crash_handler.py +77 -0
- graphica/gui/cvd_preview.py +23 -0
- graphica/gui/data_editor.py +761 -0
- graphica/gui/data_import_flow.py +355 -0
- graphica/gui/dataset_bindings.py +107 -0
- graphica/gui/dataset_style_icon.py +80 -0
- graphica/gui/datasets/__init__.py +1 -0
- graphica/gui/datasets/actions_menu.py +114 -0
- graphica/gui/datasets/colors.py +218 -0
- graphica/gui/datasets/fitting.py +70 -0
- graphica/gui/datasets/host.py +162 -0
- graphica/gui/datasets/operations/__init__.py +1 -0
- graphica/gui/datasets/operations/fitting.py +468 -0
- graphica/gui/datasets/operations/peaks.py +109 -0
- graphica/gui/datasets/operations/processing.py +659 -0
- graphica/gui/datasets/operations/runner.py +148 -0
- graphica/gui/datasets/operations/transfer.py +227 -0
- graphica/gui/datasets/order.py +310 -0
- graphica/gui/datasets/overlays.py +74 -0
- graphica/gui/datasets/peaks.py +21 -0
- graphica/gui/datasets/plugin_runs.py +99 -0
- graphica/gui/datasets/processing.py +68 -0
- graphica/gui/datasets/property_panel.py +538 -0
- graphica/gui/datasets/transfer.py +36 -0
- graphica/gui/detached_canvas_window.py +22 -0
- graphica/gui/dialogs/__init__.py +137 -0
- graphica/gui/dialogs/analysis.py +1322 -0
- graphica/gui/dialogs/app.py +1015 -0
- graphica/gui/dialogs/appearance.py +851 -0
- graphica/gui/dialogs/data_edit.py +577 -0
- graphica/gui/dialogs/data_import.py +679 -0
- graphica/gui/dialogs/export.py +433 -0
- graphica/gui/dock_layout.py +176 -0
- graphica/gui/export_preview_panel.py +321 -0
- graphica/gui/export_settings.py +16 -0
- graphica/gui/file_association.py +97 -0
- graphica/gui/icon_utils.py +44 -0
- graphica/gui/main_app_window.py +210 -0
- graphica/gui/main_window.py +1151 -0
- graphica/gui/mathtext_preview.py +168 -0
- graphica/gui/menu_bar.py +320 -0
- graphica/gui/minimap_widget.py +151 -0
- graphica/gui/mixins/__init__.py +0 -0
- graphica/gui/mixins/export_mixin.py +520 -0
- graphica/gui/mixins/help_mixin.py +127 -0
- graphica/gui/mixins/project_io_mixin.py +289 -0
- graphica/gui/mixins/quick_access_mixin.py +194 -0
- graphica/gui/mixins/ui_setup_mixin.py +206 -0
- graphica/gui/notify.py +61 -0
- graphica/gui/panels/__init__.py +43 -0
- graphica/gui/panels/axis_settings.py +605 -0
- graphica/gui/panels/dataset_tree.py +424 -0
- graphica/gui/plot_type_drawers.py +131 -0
- graphica/gui/plugin_context.py +119 -0
- graphica/gui/project_files.py +361 -0
- graphica/gui/provenance_panel.py +65 -0
- graphica/gui/rendering/__init__.py +1 -0
- graphica/gui/rendering/annotations.py +177 -0
- graphica/gui/rendering/appearance.py +368 -0
- graphica/gui/rendering/common.py +316 -0
- graphica/gui/rendering/data_1d.py +376 -0
- graphica/gui/rendering/data_2d.py +66 -0
- graphica/gui/residual_panel.py +62 -0
- graphica/gui/resources.py +16 -0
- graphica/gui/single_instance.py +141 -0
- graphica/gui/splash.py +83 -0
- graphica/gui/task_runner.py +41 -0
- graphica/gui/theme.py +864 -0
- graphica/gui/tools/__init__.py +56 -0
- graphica/gui/tools/annotation.py +275 -0
- graphica/gui/tools/cursor.py +259 -0
- graphica/gui/tools/layout_edit.py +285 -0
- graphica/gui/tools/manager.py +78 -0
- graphica/gui/tools/peak_placement.py +132 -0
- graphica/gui/tools/range_select.py +191 -0
- graphica/gui/tools/region_highlight.py +222 -0
- graphica/gui/tools/slice_extraction.py +200 -0
- graphica/gui/widget_translation.py +46 -0
- graphica/gui/workers.py +280 -0
- graphica/models/__init__.py +0 -0
- graphica/models/project.py +197 -0
- graphica/plugin/__init__.py +20 -0
- graphica/plugin/testing.py +57 -0
- graphica/sample_data/__init__.py +0 -0
- graphica/sample_data/cooling_curve_sample.csv +42 -0
- graphica/ui_main_window.py +581 -0
- graphica_plot-2.0.0.dist-info/METADATA +317 -0
- graphica_plot-2.0.0.dist-info/RECORD +181 -0
- graphica_plot-2.0.0.dist-info/WHEEL +5 -0
- graphica_plot-2.0.0.dist-info/entry_points.txt +2 -0
- graphica_plot-2.0.0.dist-info/licenses/LICENSE +30 -0
- graphica_plot-2.0.0.dist-info/licenses/THIRD_PARTY_LICENSES.md +91 -0
- graphica_plot-2.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"""ダイアログ。呼び出し側は `from graphica.gui.dialogs import X` と書く(ここでまとめて再エクスポートする)。
|
|
2
|
+
|
|
3
|
+
新しいダイアログは内容に合うモジュールに置き、ここの import と `__all__` にも足すこと。
|
|
4
|
+
モジュールどうしは import し合わない(循環 import を避けるため、クラス間の参照は同じモジュールの中に収める)。
|
|
5
|
+
|
|
6
|
+
| モジュール | 担当 |
|
|
7
|
+
|---|---|
|
|
8
|
+
| `data_import` | ファイルの取り込み・列の型決め・新規データセット |
|
|
9
|
+
| `data_edit` | 列の計算/文字列操作、行フィルタ、重複X、置換など |
|
|
10
|
+
| `analysis` | フィット・ピーク・ベースライン・積分・規格化・外れ値など |
|
|
11
|
+
| `export` | 画像/一括エクスポート、キャプション生成、色覚シミュレーション |
|
|
12
|
+
| `appearance` | ラベル書式、配色パレット、登録色、凡例順、矢印注釈、インセット |
|
|
13
|
+
| `app` | 環境設定、ヘルプ、ようこそ、コマンドパレット、プラグイン引数など |
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
# データの取り込み
|
|
17
|
+
from graphica.gui.dialogs.data_import import (
|
|
18
|
+
ColumnPreviewDialog,
|
|
19
|
+
ColumnTypeDialog,
|
|
20
|
+
ExcelMultiSheetDialog,
|
|
21
|
+
FolderImportDialog,
|
|
22
|
+
NewDatasetDialog,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
# データの編集・列操作
|
|
26
|
+
from graphica.gui.dialogs.data_edit import (
|
|
27
|
+
ColumnCalculatorDialog,
|
|
28
|
+
CalcHelpDialog,
|
|
29
|
+
ColumnStringOpsDialog,
|
|
30
|
+
FindReplaceDialog,
|
|
31
|
+
RowFilterDialog,
|
|
32
|
+
ColumnVisibilityDialog,
|
|
33
|
+
DuplicateXDialog,
|
|
34
|
+
ReplicateErrorDialog,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
# 解析
|
|
38
|
+
from graphica.gui.dialogs.analysis import (
|
|
39
|
+
FitDialog,
|
|
40
|
+
MultiPeakFitDialog,
|
|
41
|
+
PeakSettingsDialog,
|
|
42
|
+
ResultDialog,
|
|
43
|
+
BaselineCorrectionDialog,
|
|
44
|
+
SavGolDialog,
|
|
45
|
+
IntervalIntegralDialog,
|
|
46
|
+
CumulativeIntegralDialog,
|
|
47
|
+
NormalizeDatasetDialog,
|
|
48
|
+
ResampleDatasetDialog,
|
|
49
|
+
OutlierDetectionDialog,
|
|
50
|
+
HistogramKDEDialog,
|
|
51
|
+
DatasetArithmeticDialog,
|
|
52
|
+
XAxisAlignmentDialog,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
# エクスポート・出力
|
|
56
|
+
from graphica.gui.dialogs.export import (
|
|
57
|
+
ExportDialog,
|
|
58
|
+
BatchExportDialog,
|
|
59
|
+
CaptionGeneratorDialog,
|
|
60
|
+
CVDSimulationDialog,
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
# 見た目・注釈
|
|
64
|
+
from graphica.gui.dialogs.appearance import (
|
|
65
|
+
LabelEditDialog,
|
|
66
|
+
ColorPaletteDialog,
|
|
67
|
+
NamedColorManagerDialog,
|
|
68
|
+
NamedColorPickerDialog,
|
|
69
|
+
LegendOrderDialog,
|
|
70
|
+
ArrowAnnotationDialog,
|
|
71
|
+
TextAnnotationDialog,
|
|
72
|
+
InsetDialog,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
# アプリ全体(設定・ヘルプ・操作)
|
|
76
|
+
from graphica.gui.dialogs.app import (
|
|
77
|
+
PreferencesDialog,
|
|
78
|
+
HelpDialog,
|
|
79
|
+
AboutDialog,
|
|
80
|
+
WelcomeDialog,
|
|
81
|
+
ShortcutsDialog,
|
|
82
|
+
CommandPaletteDialog,
|
|
83
|
+
QuickAccessManagerDialog,
|
|
84
|
+
AutosaveHistoryDialog,
|
|
85
|
+
PluginParamDialog,
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
__all__ = [
|
|
89
|
+
"AboutDialog",
|
|
90
|
+
"ArrowAnnotationDialog",
|
|
91
|
+
"AutosaveHistoryDialog",
|
|
92
|
+
"BaselineCorrectionDialog",
|
|
93
|
+
"BatchExportDialog",
|
|
94
|
+
"CVDSimulationDialog",
|
|
95
|
+
"CalcHelpDialog",
|
|
96
|
+
"CaptionGeneratorDialog",
|
|
97
|
+
"ColorPaletteDialog",
|
|
98
|
+
"ColumnCalculatorDialog",
|
|
99
|
+
"ColumnPreviewDialog",
|
|
100
|
+
"ColumnStringOpsDialog",
|
|
101
|
+
"ColumnTypeDialog",
|
|
102
|
+
"ColumnVisibilityDialog",
|
|
103
|
+
"CommandPaletteDialog",
|
|
104
|
+
"CumulativeIntegralDialog",
|
|
105
|
+
"DatasetArithmeticDialog",
|
|
106
|
+
"DuplicateXDialog",
|
|
107
|
+
"ExcelMultiSheetDialog",
|
|
108
|
+
"ExportDialog",
|
|
109
|
+
"FindReplaceDialog",
|
|
110
|
+
"FitDialog",
|
|
111
|
+
"FolderImportDialog",
|
|
112
|
+
"HelpDialog",
|
|
113
|
+
"HistogramKDEDialog",
|
|
114
|
+
"InsetDialog",
|
|
115
|
+
"IntervalIntegralDialog",
|
|
116
|
+
"LabelEditDialog",
|
|
117
|
+
"LegendOrderDialog",
|
|
118
|
+
"MultiPeakFitDialog",
|
|
119
|
+
"NamedColorManagerDialog",
|
|
120
|
+
"NamedColorPickerDialog",
|
|
121
|
+
"NewDatasetDialog",
|
|
122
|
+
"NormalizeDatasetDialog",
|
|
123
|
+
"OutlierDetectionDialog",
|
|
124
|
+
"PeakSettingsDialog",
|
|
125
|
+
"PluginParamDialog",
|
|
126
|
+
"PreferencesDialog",
|
|
127
|
+
"QuickAccessManagerDialog",
|
|
128
|
+
"ReplicateErrorDialog",
|
|
129
|
+
"ResampleDatasetDialog",
|
|
130
|
+
"ResultDialog",
|
|
131
|
+
"RowFilterDialog",
|
|
132
|
+
"SavGolDialog",
|
|
133
|
+
"ShortcutsDialog",
|
|
134
|
+
"TextAnnotationDialog",
|
|
135
|
+
"WelcomeDialog",
|
|
136
|
+
"XAxisAlignmentDialog",
|
|
137
|
+
]
|