Skip to content

Commit 3236be7

Browse files
authored
DOC: add annotation about narrow nt*dt (#107)
1 parent af1aab6 commit 3236be7

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

docs/locales/en/LC_MESSAGES/Tutorial/dynamic/gfunc.po

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-09-22 13:40+0800\n"
11+
"POT-Creation-Date: 2025-09-22 20:10+0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language: en\n"
@@ -128,8 +128,8 @@ msgstr ""
128128
#: ../../source/Tutorial/dynamic/gfunc.rst:44
129129
msgid ":doc:`/Module/travt` 模块可以显式地再计算初至波走时,"
130130
msgstr ""
131-
"The :doc:`/Module/travt` module can explicitly recalculate the travel times "
132-
"of the first waves."
131+
"The :doc:`/Module/travt` module can explicitly recalculate the travel "
132+
"times of the first waves."
133133

134134
#: ../../source/Tutorial/dynamic/gfunc.rst:51
135135
msgid "走时结果会输出到终端,"
@@ -141,8 +141,8 @@ msgid ""
141141
"模块临时将SAC格式文件转为如下的文本文件:"
142142
msgstr ""
143143
"If you have not installed the SAC software, you can use Python's ObsPy "
144-
"library to read the generated SAC data, or use the :doc:`/Module/sac2asc` "
145-
"module to temporarily convert SAC format files into the following text "
144+
"library to read the generated SAC data, or use the :doc:`/Module/sac2asc`"
145+
" module to temporarily convert SAC format files into the following text "
146146
"files:"
147147

148148
#: ../../source/Tutorial/dynamic/gfunc.rst:63
@@ -166,23 +166,30 @@ msgstr ""
166166
":class:`Trace.stats.sac` contains the SAC header variables, consistent "
167167
"with the output of the C program."
168168

169-
#: ../../source/Tutorial/dynamic/gfunc.rst:80
169+
#: ../../source/Tutorial/dynamic/gfunc.rst:77
170+
msgid "当时窗长度 nt\\*dt 太小“包不住”有效信号,或时窗长度足够但时延不合适,输出的波形会发生混叠, 此时需调整相关参数。"
171+
msgstr ""
172+
"When the window length nt\\*dt is too small to \"contain\" the effective signal, "
173+
"or when the window length is sufficient but the time delay is inappropriate, "
174+
"the output waveform will suffer from aliasing. At this point, the relevant parameters need to be adjusted."
175+
176+
#: ../../source/Tutorial/dynamic/gfunc.rst:82
170177
msgid "格林函数计算结果的单位:"
171178
msgstr "Units of the computed Green's function results:"
172179

173-
#: ../../source/Tutorial/dynamic/gfunc.rst:82
180+
#: ../../source/Tutorial/dynamic/gfunc.rst:84
174181
msgid ""
175182
"爆炸源: :math:`10^{-20} \\, \\frac{\\text{cm}}{\\text{dyne} \\cdot "
176183
"\\text{cm}}`"
177184
msgstr ""
178185
"Explosion: :math:`10^{-20} \\, \\frac{\\text{cm}}{\\text{dyne} \\cdot "
179186
"\\text{cm}}`"
180187

181-
#: ../../source/Tutorial/dynamic/gfunc.rst:83
188+
#: ../../source/Tutorial/dynamic/gfunc.rst:85
182189
msgid "单力源: :math:`10^{-15} \\, \\frac{\\text{cm}}{\\text{dyne}}`"
183190
msgstr "Single Force: :math:`10^{-15} \\, \\frac{\\text{cm}}{\\text{dyne}}`"
184191

185-
#: ../../source/Tutorial/dynamic/gfunc.rst:84
192+
#: ../../source/Tutorial/dynamic/gfunc.rst:86
186193
msgid ""
187194
"剪切源: :math:`10^{-20} \\, \\frac{\\text{cm}}{\\text{dyne} \\cdot "
188195
"\\text{cm}}`"

docs/source/Module/greenfn.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ greenfn
6262
+ **+n**\ *fac* - 频率域插值倍数[1]。即在做逆傅里叶变换时,在频域上最高频后补零,
6363
相当于 *nt* ← *nt* \* *fac* , *dt* ← *dt* / *fac* ,使计算的波形更平滑。
6464

65+
当时窗长度 nt\*dt 太小“包不住”有效信号,或时窗长度足够但时延(|-E|)不合适,输出的波形会发生混叠,
66+
此时需调整 |-N| 和 |-E| 。
67+
6568
.. include:: explain_-R.rst_
6669

6770
.. include:: explain_-O.rst_

docs/source/Tutorial/dynamic/gfunc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ Python中计算动态格林函数的主函数为 :func:`compute_grn() <pygrt.pym
7474

7575
多个震中距的格林函数以列表形式返回,其中每个元素为 |Stream| 类。:class:`Trace.stats.sac` 中保存了SAC头段变量,与C程序输出保持一致。
7676

77+
当时窗长度 nt\*dt 太小“包不住”有效信号,或时窗长度足够但时延不合适,输出的波形会发生混叠,
78+
此时需调整相关参数。
7779

7880
.. note::
7981

@@ -84,8 +86,6 @@ Python中计算动态格林函数的主函数为 :func:`compute_grn() <pygrt.pym
8486
+ 剪切源: :math:`10^{-20} \, \frac{\text{cm}}{\text{dyne} \cdot \text{cm}}`
8587

8688

87-
88-
8989
离散波数积分
9090
--------------
9191

0 commit comments

Comments
 (0)