zhuwq0 commited on
Commit
85a8797
1 Parent(s): 1b6e4e8
Files changed (1) hide show
  1. tests/test_api.ipynb +4 -21
tests/test_api.ipynb CHANGED
@@ -2,7 +2,7 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 20,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
@@ -12,7 +12,7 @@
12
  },
13
  {
14
  "cell_type": "code",
15
- "execution_count": 22,
16
  "metadata": {},
17
  "outputs": [
18
  {
@@ -31,31 +31,14 @@
31
  },
32
  {
33
  "cell_type": "code",
34
- "execution_count": 25,
35
  "metadata": {},
36
  "outputs": [
37
  {
38
  "name": "stdout",
39
  "output_type": "stream",
40
  "text": [
41
- "(3000, 3)\n"
42
- ]
43
- }
44
- ],
45
- "source": [
46
- "print(array.shape)"
47
- ]
48
- },
49
- {
50
- "cell_type": "code",
51
- "execution_count": 26,
52
- "metadata": {},
53
- "outputs": [
54
- {
55
- "name": "stdout",
56
- "output_type": "stream",
57
- "text": [
58
- "[[[{'file_name': '0000', 'station_id': '0000', 'begin_time': '1970-01-01T00:00:00.000+00:00', 'phase_index': 573, 'phase_time': '1970-01-01T00:00:05.730+00:00', 'phase_score': 0.999, 'phase_type': 'S', 'dt': 0.01}], {'label': 'debug', 'score': 0.1}]]\n"
59
  ]
60
  }
61
  ],
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 27,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
 
12
  },
13
  {
14
  "cell_type": "code",
15
+ "execution_count": 28,
16
  "metadata": {},
17
  "outputs": [
18
  {
 
31
  },
32
  {
33
  "cell_type": "code",
34
+ "execution_count": 29,
35
  "metadata": {},
36
  "outputs": [
37
  {
38
  "name": "stdout",
39
  "output_type": "stream",
40
  "text": [
41
+ "[[{'phase_index': 470, 'phase_score': 0.954, 'phase_type': 'P'}, {'phase_index': 570, 'phase_score': 0.839, 'phase_type': 'S'}]]\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  ]
43
  }
44
  ],