nmrlink 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. package/LICENSE +6 -2
  2. package/README.md +11 -13
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -20,5 +20,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
22
 
23
- Scope: The original/ directory is excluded from this license; its license
24
- has not been determined. Third-party materials retain their own licenses.
23
+ Scope and attribution:
24
+ - NMRLink software and documentation: Copyright (c) 2026 Masamitsu Bando.
25
+ - Original Python program (original/GUI8.py): Copyright (c) 2026 Yasushi Kondo,
26
+ distributed under the MIT License in original/LICENSE:
27
+ https://github.com/masabando/nmrlink/blob/main/original/LICENSE
28
+ - Third-party materials retain their own copyright notices and licenses.
package/README.md CHANGED
@@ -1,27 +1,25 @@
1
1
  # nmrlink
2
2
 
3
- 教育用NMR装置の制御・波形解析・グラフを自分のWeb UIへ組み込むJavaScriptライブラリです。Web Serial APIによる接続、Single/Double測定、FID・FFT、周波数走査、パルス校正、T1・T2測定に対応します。
3
+ 近畿大学の近藤が開発を進めてきた学生実験用のNMR装置を制御するJavaScriptライブラリです。Web Serial APIによる接続、測定データの解析、グラフ表示を自分のWeb UIに組み込めます。
4
+
5
+ [researchmap:近藤 康](https://researchmap.jp/kondo_yasushi)
4
6
 
5
7
  [ドキュメント](https://masabando.github.io/nmrlink/) · [API](https://masabando.github.io/nmrlink/docs/API.html) · [標準Web UI](https://masabando.github.io/nmrlink/examples/standard/) · [GitHub](https://github.com/masabando/nmrlink)
6
8
 
7
- ## 導入
9
+ ## 対象装置と入手について
8
10
 
9
- ```sh
10
- npm install nmrlink
11
- ```
11
+ 実際の測定には、対応する学生実験用NMR装置が必要です。一般のNMR装置を共通に制御するライブラリではありません。実機なしでも、模擬データによる表示や操作のデモを試せます。
12
12
 
13
- GitHubリポジトリからソースを直接使うこともできます。ローカルで配布用アーカイブを作る場合は、リポジトリのルートで次を実行します。
13
+ 装置は教材販売会社を通じての販売が計画されています。
14
14
 
15
- ```sh
16
- npm pack --workspace nmrlink --ignore-scripts
17
- ```
18
-
19
- 作成された `nmrlink-0.1.1.tgz` を別プロジェクトへインストールできます。
15
+ ## 導入
20
16
 
21
17
  ```sh
22
- npm install /path/to/nmrlink-0.1.1.tgz
18
+ npm install nmrlink
23
19
  ```
24
20
 
21
+ ビルドなしの静的HTMLから使う方法は[導入ガイド](https://masabando.github.io/nmrlink/guide/install.html)を参照してください。
22
+
25
23
  ## 対応環境と配布内容
26
24
 
27
25
  - 実機の直接接続にはWeb Serial対応デスクトップブラウザとHTTPSまたは同じPCのlocalhostが必要です。接続する装置はNMRLinkの通信仕様に対応している必要があります。
@@ -130,4 +128,4 @@ console.log(svg.fid); // SVG文字列。Node.jsでも生成できます。
130
128
 
131
129
  MIT。作者:Masamitsu Bando。配布物内のLICENSEを参照してください。
132
130
 
133
- GitHubの `original/` にある提供元のPythonプログラムはこのnpmパッケージに含めず、NMRLinkのMITライセンスの対象外です。
131
+ GitHubの `original/` にある提供元のPythonプログラムもMITライセンスで公開しています。このnpmパッケージには含みません。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nmrlink",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "JavaScript library for educational NMR hardware control via Web Serial, signal analysis, and SVG graphs.",
5
5
  "type": "module",
6
6
  "keywords": [