dyncfs 2.0.2__tar.gz → 2.0.3__tar.gz

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 (167) hide show
  1. {dyncfs-2.0.2 → dyncfs-2.0.3}/LICENSE +20 -20
  2. {dyncfs-2.0.2 → dyncfs-2.0.3}/MANIFEST.in +8 -8
  3. {dyncfs-2.0.2/dyncfs.egg-info → dyncfs-2.0.3}/PKG-INFO +142 -142
  4. {dyncfs-2.0.2 → dyncfs-2.0.3}/README.md +104 -104
  5. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/__init__.py +8 -8
  6. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/cfs_dynamic.py +1610 -1610
  7. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/cfs_dynamic_backup.py +1328 -1328
  8. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/cfs_static.py +760 -760
  9. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/configuration.py +511 -511
  10. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/convert_input_format.py +316 -316
  11. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_edcmp.py +117 -117
  12. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_edcmp_bulk.py +227 -227
  13. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_edgrn.py +96 -96
  14. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_edgrn_bulk.py +147 -147
  15. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_nd_by_crust1_ak135.py +121 -121
  16. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_qseis2025.py +234 -234
  17. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_qseis2025_bulk.py +258 -258
  18. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_qssp2020.py +282 -282
  19. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/create_qssp2020_bulk.py +535 -535
  20. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/crust1.py +132 -132
  21. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/edcmp2inp.py +132 -132
  22. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/edgrn2inp.py +91 -91
  23. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/focal_mechanism.py +360 -360
  24. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/geo.py +0 -0
  25. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/main.py +115 -115
  26. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/obspy_geo.py +310 -310
  27. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_cfs_dynamic_2d.py +369 -369
  28. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_cfs_dynamic_3d.py +179 -179
  29. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_cfs_static_2d.py +220 -220
  30. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_cfs_static_3d.py +172 -172
  31. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_gif.py +21 -21
  32. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_slip_2d.py +254 -254
  33. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/plot_slip_3d.py +176 -176
  34. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/pytaup.py +153 -153
  35. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/qseis2025inp.py +279 -279
  36. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/qssp2020inp.py +166 -166
  37. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/read_edcmp.py +140 -140
  38. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/read_qseis2025.py +352 -352
  39. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/read_qssp2020.py +354 -354
  40. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/signal_process.py +0 -0
  41. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/utils.py +440 -440
  42. {dyncfs-2.0.2 → dyncfs-2.0.3/dyncfs.egg-info}/PKG-INFO +142 -142
  43. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/dc3d.f +665 -665
  44. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/dc3d0.f +460 -460
  45. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/edcdisc.f +188 -188
  46. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/edcglobal.h +15 -15
  47. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/edcgrn.f +447 -447
  48. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/edcmain.f +327 -327
  49. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/edcoutput.f +134 -134
  50. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/getdata.f +30 -30
  51. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edcmp2.0_src/okada.f +189 -189
  52. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/axb.f +26 -26
  53. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/bessj.f +58 -58
  54. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/bessj0.f +42 -42
  55. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/bessj1.f +42 -42
  56. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgbstab.f +60 -60
  57. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgglobal.h +25 -25
  58. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edghask.f +79 -79
  59. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgkern.f +36 -36
  60. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edglayer.f +77 -77
  61. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgmain.f +299 -299
  62. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgmatinv.f +55 -55
  63. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgmatrix.f +48 -48
  64. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgmoment.f +97 -97
  65. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgpsv.f +321 -321
  66. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgsh.f +208 -208
  67. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgsublay.f +78 -78
  68. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/edgwvint.f +334 -334
  69. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/gemp.f +83 -83
  70. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/getdata.f +26 -26
  71. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/edgrn2.0_src/memcpy.f +17 -17
  72. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsqmodel.f +43 -43
  73. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qswaveno.f +30 -30
  74. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/banddpasss.f +0 -0
  75. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/brunewvlet.f +0 -0
  76. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/butterworth.f +12 -12
  77. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/caxcb.f +20 -20
  78. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/cdsvd500.f +18 -18
  79. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/cmemcpy.f +15 -15
  80. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/disazi.f +71 -71
  81. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/four1w.f +65 -65
  82. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/fsimpson.f +5 -5
  83. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/legendre.f +19 -19
  84. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/moments.f +0 -0
  85. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpalloc.f +0 -0
  86. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpdifmat0.f +7 -7
  87. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpdifmatl.f +6 -6
  88. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpdifmats.f +7 -7
  89. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpfftinv.f +4 -4
  90. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpgetinp.f +0 -0
  91. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpgrnspec.f +19 -19
  92. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qplegendre.f +19 -19
  93. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpmain.f +78 -78
  94. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qppsvkern.f +20 -20
  95. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qppsvkerng.f +19 -19
  96. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpqmodel.f +18 -18
  97. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpshkern.f +24 -24
  98. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsmat.f +8 -8
  99. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsmat0.f +10 -10
  100. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsmatc.f +8 -8
  101. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsprop.f +28 -28
  102. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsprop0.f +66 -66
  103. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpspropg.f +26 -26
  104. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpspropg0.f +57 -57
  105. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart0.f +9 -9
  106. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart0a.f +9 -9
  107. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart0g.f +6 -6
  108. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart2t.f +7 -7
  109. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart4.f +9 -9
  110. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart4a.f +9 -9
  111. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart4g.f +6 -6
  112. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart6.f +9 -9
  113. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart6a.f +9 -9
  114. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpstart6g.f +6 -6
  115. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpsublayer.f +38 -38
  116. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qptmat.f +10 -10
  117. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qptprop.f +34 -34
  118. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/qpwvint.f +9 -9
  119. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/ruku.f +43 -43
  120. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/skipdoc.f +1 -1
  121. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbdphj.f +0 -0
  122. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbdphy.f +0 -0
  123. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbh12.f +0 -0
  124. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbjh.f +0 -0
  125. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbphj.f +0 -0
  126. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbphy.f +0 -0
  127. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbpsj.f +0 -0
  128. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/spbpsy.f +0 -0
  129. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/swavelet.f +26 -26
  130. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/taper.f +8 -8
  131. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qssp2020_src/transfs2t.f +0 -0
  132. {dyncfs-2.0.2 → dyncfs-2.0.3}/pyproject.toml +37 -40
  133. {dyncfs-2.0.2 → dyncfs-2.0.3}/setup.cfg +4 -4
  134. {dyncfs-2.0.2 → dyncfs-2.0.3}/setup.py +75 -75
  135. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs/exec/TauP-2.6.1.jar +0 -0
  136. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs.egg-info/SOURCES.txt +0 -0
  137. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs.egg-info/dependency_links.txt +0 -0
  138. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs.egg-info/entry_points.txt +0 -0
  139. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs.egg-info/requires.txt +0 -0
  140. {dyncfs-2.0.2 → dyncfs-2.0.3}/dyncfs.egg-info/top_level.txt +0 -0
  141. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/bessj.f +0 -0
  142. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/bessj0.f +0 -0
  143. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/bessj1.f +0 -0
  144. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/caxcb.f +0 -0
  145. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/cdgemp.f +0 -0
  146. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/cmemcpy.f +0 -0
  147. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/four1.f +0 -0
  148. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/getdata.f +0 -0
  149. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsam2ve.f +0 -0
  150. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsbsj.f +0 -0
  151. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsfftinv.f +0 -0
  152. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsgetinp.f +0 -0
  153. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsglobal.h +0 -0
  154. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qshksh.f +0 -0
  155. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qskern.f +0 -0
  156. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qslayer.f +0 -0
  157. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsmain.f +0 -0
  158. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsmatrix0.f +0 -0
  159. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsmultis.f +0 -0
  160. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qspsv.f +0 -0
  161. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qssh.f +0 -0
  162. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qssource.f +0 -0
  163. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qssublay.f +0 -0
  164. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qsve2am.f +0 -0
  165. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qswavelet.f +0 -0
  166. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/qswvint.f +0 -0
  167. {dyncfs-2.0.2 → dyncfs-2.0.3}/fortran_src_codes/qseis2025_src/taper.f +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Zhou Jiangcheng
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Zhou Jiangcheng
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
@@ -1,9 +1,9 @@
1
- include README.md
2
- include LICENSE
3
- recursive-include fortran_src_codes *.f *.for *.f90 *.F *.F90
4
- recursive-include fortran_src_codes *.inc *.INC *.par *.PAR *.dat *.DAT *.txt *.cfg *.in *.h *.H
5
- recursive-include dyncfs/exec *.jar
6
- exclude dyncfs/exec/*.bin
7
- exclude dyncfs/exec/*.exe
8
- exclude dyncfs/exec/*.out
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include fortran_src_codes *.f *.for *.f90 *.F *.F90
4
+ recursive-include fortran_src_codes *.inc *.INC *.par *.PAR *.dat *.DAT *.txt *.cfg *.in *.h *.H
5
+ recursive-include dyncfs/exec *.jar
6
+ exclude dyncfs/exec/*.bin
7
+ exclude dyncfs/exec/*.exe
8
+ exclude dyncfs/exec/*.out
9
9
  exclude dyncfs/exec/*.o
@@ -1,142 +1,142 @@
1
- Metadata-Version: 2.4
2
- Name: dyncfs
3
- Version: 2.0.2
4
- Summary: A Python library for computing Coulomb Failure Stress Change.
5
- Author-email: Zhou Jiangcheng <zhoujcpku@outlook.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2024 Zhou Jiangcheng
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
- Project-URL: Homepage, https://github.com/Zhou-Jiangcheng/dyncfs
28
- Requires-Python: >=3.11
29
- Description-Content-Type: text/markdown
30
- License-File: LICENSE
31
- Requires-Dist: numpy>=2.3.3
32
- Requires-Dist: matplotlib>=3.9.2
33
- Requires-Dist: scipy>=1.16.2
34
- Requires-Dist: pandas>=2.2.3
35
- Requires-Dist: jpype1>=1.5.2
36
- Requires-Dist: tqdm>=4.67.1
37
- Dynamic: license-file
38
-
39
- # Introduction
40
-
41
- This Python package serves as the frontend for calculating and building a Green's function library for synthetic seismograms and then compute the static/dynamic Coulomb Failure Stress Change. The backend consists of Wang Rongjiang's program for calculating synthetic seismograms, including EDGRN/EDCMP, [QSEIS_2006_STRESS](https://github.com/Zhou-Jiangcheng/QSEIS_2006_STRESS) and QSSP. Traveling time is calculated using [TAUP](https://github.com/crotwell/TauP). Some geographic coordinate transformations use code from [obspy](https://github.com/obspy/obspy).
42
-
43
- References:
44
- Wang, R. (1999). A simple orthonormalization method for stable and efficient computation of Green’s functions. *Bulletin of the Seismological Society of America* , *89* (3), 733–741. [https://doi.org/10.1785/BSSA0890030733](https://doi.org/10.1785/BSSA0890030733)
45
-
46
- Wang, R. (2003). Computation of deformation induced by earthquakes in a multi-layered elastic crust—FORTRAN programs EDGRN/EDCMP. Computers & Geosciences, 29(2), 195–207. https://doi.org/10.1016/S0098-3004(02)00111-5
47
-
48
- Wang, R., & Wang, H. (2007). A fast converging and anti-aliasing algorithm for green’s functions in terms of spherical or cylindrical harmonics. Geophysical Journal International, 170(1), 239–248. https://doi.org/10.1111/j.1365-246X.2007.03385.x
49
-
50
- Wang, R., Heimann, S., Zhang, Y., Wang, H., & Dahm, T. (2017). Complete synthetic seismograms based on a spherical self-gravitating earth model with an atmosphere–ocean–mantle–core structure. Geophysical Journal International, 210(3), 1739–1764. https://doi.org/10.1093/gji/ggx259
51
-
52
- # Installation
53
-
54
- 1. Install the requirments by conda (conda 24.11.3)
55
-
56
- ```
57
- conda create -n cfs python=3.11
58
- conda activate cfs
59
- conda install openjdk jpype1 gfortran numpy scipy pandas matplotlib tqdm -c conda-forge
60
- conda install geographiclib mpi4py -c conda-forge # optional
61
- ```
62
-
63
- or install the requirments using system package manager, such as apt (Debian 12)
64
-
65
- ```
66
- sudo apt install openjdk gfortran
67
- sudo apt install openmpi-common # optional
68
- ```
69
-
70
- 2. Download this reposity and install by pip.
71
-
72
- ```
73
- git clone https://github.com/Zhou-Jiangcheng/dyncfs.git
74
- cd dyncfs
75
- pip install .
76
- ```
77
-
78
- For code modification and debugging, use editable mode:
79
-
80
- ```
81
- pip install -e .
82
- ```
83
-
84
- or install from pypi
85
-
86
- ```
87
- pip install dyncfs
88
- ```
89
-
90
- # Usage
91
-
92
- Fill in all parameters in the .ini file, and prepare the input files as described in `example.ini`, including `source_plane[m].csv` and `obs_plane[n].csv` under the input directory, as well as `model.nd` representing the Earth model.
93
-
94
- 1. Command-line usage
95
-
96
- ```
97
- dyncfs --help
98
- ```
99
-
100
- ```
101
- usage: dyncfs [-h] --config CONFIG [--create-static-lib] [--compute-static-cfs] [--compute-static-cfs-fix-depth] [--run-static] [--create-dynamic-lib] [--compute-dynamic-cfs] [--compute-dynamic-cfs-fix-depth] [--run-dynamic] [--run-all]
102
-
103
- dyncfs command line tool
104
-
105
- options:
106
- -h, --help show this help message and exit
107
- --config CONFIG Path to the configuration file
108
- --create-static-lib Create static stress library
109
- --compute-static-cfs Compute static dCFS on obs faults
110
- --compute-static-cfs-fix-depth
111
- Compute static dCFS at fixed depth
112
- --run-static Create static stress library and Compute static dCFS on obs faults and Compute static dCFS at fixed depth
113
- --create-dynamic-lib Create dynamic stress library
114
- --compute-dynamic-cfs
115
- Compute dynamic dCFS on obs faults
116
- --compute-dynamic-cfs-fix-depth
117
- Compute dynamic dCFS at fixed depth
118
- --run-dynamic Create dynamic stress library and Compute dynamic dCFS on obs faults and Compute dynamic dCFS at fixed depth
119
- --run-all Create static and dynamic stress library and Compute static and dynamic dCFS
120
- ```
121
-
122
- 2. Import and use classes and functions in .py files
123
-
124
- ```
125
- from dyncfs.cfs_static import *
126
-
127
- if __name__ == "__main__":
128
- config = CfsConfig()
129
- config.read_config("example.ini")
130
- create_static_lib(config)
131
- compute_static_cfs_parallel(config)
132
- ```
133
-
134
- ```
135
- from dyncfs.cfs_dynamic import *
136
-
137
- if __name__ == "__main__":
138
- config = CfsConfig()
139
- config.read_config("example.ini")
140
- create_dynamic_lib(config)
141
- compute_dynamic_cfs_parallel(config)
142
- ```
1
+ Metadata-Version: 2.4
2
+ Name: dyncfs
3
+ Version: 2.0.3
4
+ Summary: A Python library for computing Coulomb Failure Stress Change.
5
+ Author-email: Zhou Jiangcheng <zhoujcpku@outlook.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2024 Zhou Jiangcheng
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/Zhou-Jiangcheng/dyncfs
28
+ Requires-Python: >=3.11
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: numpy>=2.3.3
32
+ Requires-Dist: matplotlib>=3.9.2
33
+ Requires-Dist: scipy>=1.16.2
34
+ Requires-Dist: pandas>=2.2.3
35
+ Requires-Dist: jpype1>=1.5.2
36
+ Requires-Dist: tqdm>=4.67.1
37
+ Dynamic: license-file
38
+
39
+ # Introduction
40
+
41
+ This Python package serves as the frontend for calculating and building a Green's function library for synthetic seismograms and then compute the static/dynamic Coulomb Failure Stress Change. The backend consists of Wang Rongjiang's program for calculating synthetic seismograms, including EDGRN/EDCMP, [QSEIS_2006_STRESS](https://github.com/Zhou-Jiangcheng/QSEIS_2006_STRESS) and QSSP. Traveling time is calculated using [TAUP](https://github.com/crotwell/TauP). Some geographic coordinate transformations use code from [obspy](https://github.com/obspy/obspy).
42
+
43
+ References:
44
+ Wang, R. (1999). A simple orthonormalization method for stable and efficient computation of Green’s functions. *Bulletin of the Seismological Society of America* , *89* (3), 733–741. [https://doi.org/10.1785/BSSA0890030733](https://doi.org/10.1785/BSSA0890030733)
45
+
46
+ Wang, R. (2003). Computation of deformation induced by earthquakes in a multi-layered elastic crust—FORTRAN programs EDGRN/EDCMP. Computers & Geosciences, 29(2), 195–207. https://doi.org/10.1016/S0098-3004(02)00111-5
47
+
48
+ Wang, R., & Wang, H. (2007). A fast converging and anti-aliasing algorithm for green’s functions in terms of spherical or cylindrical harmonics. Geophysical Journal International, 170(1), 239–248. https://doi.org/10.1111/j.1365-246X.2007.03385.x
49
+
50
+ Wang, R., Heimann, S., Zhang, Y., Wang, H., & Dahm, T. (2017). Complete synthetic seismograms based on a spherical self-gravitating earth model with an atmosphere–ocean–mantle–core structure. Geophysical Journal International, 210(3), 1739–1764. https://doi.org/10.1093/gji/ggx259
51
+
52
+ # Installation
53
+
54
+ 1. Install the requirments by conda (conda 24.11.3)
55
+
56
+ ```
57
+ conda create -n cfs python=3.11
58
+ conda activate cfs
59
+ conda install openjdk jpype1 gfortran numpy scipy pandas matplotlib tqdm -c conda-forge
60
+ conda install geographiclib mpi4py -c conda-forge # optional
61
+ ```
62
+
63
+ or install the requirments using system package manager, such as apt (Debian 12)
64
+
65
+ ```
66
+ sudo apt install openjdk-17-jdk gfortran
67
+ sudo apt install openmpi-common # optional
68
+ ```
69
+
70
+ 2. Download this reposity and install by pip.
71
+
72
+ ```
73
+ git clone https://github.com/Zhou-Jiangcheng/dyncfs.git
74
+ cd dyncfs
75
+ pip install .
76
+ ```
77
+
78
+ For code modification and debugging, use editable mode:
79
+
80
+ ```
81
+ pip install -e .
82
+ ```
83
+
84
+ or install from pypi
85
+
86
+ ```
87
+ pip install dyncfs
88
+ ```
89
+
90
+ # Usage
91
+
92
+ Fill in all parameters in the .ini file, and prepare the input files as described in `example.ini`, including `source_plane[m].csv` and `obs_plane[n].csv` under the input directory, as well as `model.nd` representing the Earth model.
93
+
94
+ 1. Command-line usage
95
+
96
+ ```
97
+ dyncfs --help
98
+ ```
99
+
100
+ ```
101
+ usage: dyncfs [-h] --config CONFIG [--create-static-lib] [--compute-static-cfs] [--compute-static-cfs-fix-depth] [--run-static] [--create-dynamic-lib] [--compute-dynamic-cfs] [--compute-dynamic-cfs-fix-depth] [--run-dynamic] [--run-all]
102
+
103
+ dyncfs command line tool
104
+
105
+ options:
106
+ -h, --help show this help message and exit
107
+ --config CONFIG Path to the configuration file
108
+ --create-static-lib Create static stress library
109
+ --compute-static-cfs Compute static dCFS on obs faults
110
+ --compute-static-cfs-fix-depth
111
+ Compute static dCFS at fixed depth
112
+ --run-static Create static stress library and Compute static dCFS on obs faults and Compute static dCFS at fixed depth
113
+ --create-dynamic-lib Create dynamic stress library
114
+ --compute-dynamic-cfs
115
+ Compute dynamic dCFS on obs faults
116
+ --compute-dynamic-cfs-fix-depth
117
+ Compute dynamic dCFS at fixed depth
118
+ --run-dynamic Create dynamic stress library and Compute dynamic dCFS on obs faults and Compute dynamic dCFS at fixed depth
119
+ --run-all Create static and dynamic stress library and Compute static and dynamic dCFS
120
+ ```
121
+
122
+ 2. Import and use classes and functions in .py files
123
+
124
+ ```
125
+ from dyncfs.cfs_static import *
126
+
127
+ if __name__ == "__main__":
128
+ config = CfsConfig()
129
+ config.read_config("example.ini")
130
+ create_static_lib(config)
131
+ compute_static_cfs_parallel(config)
132
+ ```
133
+
134
+ ```
135
+ from dyncfs.cfs_dynamic import *
136
+
137
+ if __name__ == "__main__":
138
+ config = CfsConfig()
139
+ config.read_config("example.ini")
140
+ create_dynamic_lib(config)
141
+ compute_dynamic_cfs_parallel(config)
142
+ ```
@@ -1,104 +1,104 @@
1
- # Introduction
2
-
3
- This Python package serves as the frontend for calculating and building a Green's function library for synthetic seismograms and then compute the static/dynamic Coulomb Failure Stress Change. The backend consists of Wang Rongjiang's program for calculating synthetic seismograms, including EDGRN/EDCMP, [QSEIS_2006_STRESS](https://github.com/Zhou-Jiangcheng/QSEIS_2006_STRESS) and QSSP. Traveling time is calculated using [TAUP](https://github.com/crotwell/TauP). Some geographic coordinate transformations use code from [obspy](https://github.com/obspy/obspy).
4
-
5
- References:
6
- Wang, R. (1999). A simple orthonormalization method for stable and efficient computation of Green’s functions. *Bulletin of the Seismological Society of America* , *89* (3), 733–741. [https://doi.org/10.1785/BSSA0890030733](https://doi.org/10.1785/BSSA0890030733)
7
-
8
- Wang, R. (2003). Computation of deformation induced by earthquakes in a multi-layered elastic crust—FORTRAN programs EDGRN/EDCMP. Computers & Geosciences, 29(2), 195–207. https://doi.org/10.1016/S0098-3004(02)00111-5
9
-
10
- Wang, R., & Wang, H. (2007). A fast converging and anti-aliasing algorithm for green’s functions in terms of spherical or cylindrical harmonics. Geophysical Journal International, 170(1), 239–248. https://doi.org/10.1111/j.1365-246X.2007.03385.x
11
-
12
- Wang, R., Heimann, S., Zhang, Y., Wang, H., & Dahm, T. (2017). Complete synthetic seismograms based on a spherical self-gravitating earth model with an atmosphere–ocean–mantle–core structure. Geophysical Journal International, 210(3), 1739–1764. https://doi.org/10.1093/gji/ggx259
13
-
14
- # Installation
15
-
16
- 1. Install the requirments by conda (conda 24.11.3)
17
-
18
- ```
19
- conda create -n cfs python=3.11
20
- conda activate cfs
21
- conda install openjdk jpype1 gfortran numpy scipy pandas matplotlib tqdm -c conda-forge
22
- conda install geographiclib mpi4py -c conda-forge # optional
23
- ```
24
-
25
- or install the requirments using system package manager, such as apt (Debian 12)
26
-
27
- ```
28
- sudo apt install openjdk gfortran
29
- sudo apt install openmpi-common # optional
30
- ```
31
-
32
- 2. Download this reposity and install by pip.
33
-
34
- ```
35
- git clone https://github.com/Zhou-Jiangcheng/dyncfs.git
36
- cd dyncfs
37
- pip install .
38
- ```
39
-
40
- For code modification and debugging, use editable mode:
41
-
42
- ```
43
- pip install -e .
44
- ```
45
-
46
- or install from pypi
47
-
48
- ```
49
- pip install dyncfs
50
- ```
51
-
52
- # Usage
53
-
54
- Fill in all parameters in the .ini file, and prepare the input files as described in `example.ini`, including `source_plane[m].csv` and `obs_plane[n].csv` under the input directory, as well as `model.nd` representing the Earth model.
55
-
56
- 1. Command-line usage
57
-
58
- ```
59
- dyncfs --help
60
- ```
61
-
62
- ```
63
- usage: dyncfs [-h] --config CONFIG [--create-static-lib] [--compute-static-cfs] [--compute-static-cfs-fix-depth] [--run-static] [--create-dynamic-lib] [--compute-dynamic-cfs] [--compute-dynamic-cfs-fix-depth] [--run-dynamic] [--run-all]
64
-
65
- dyncfs command line tool
66
-
67
- options:
68
- -h, --help show this help message and exit
69
- --config CONFIG Path to the configuration file
70
- --create-static-lib Create static stress library
71
- --compute-static-cfs Compute static dCFS on obs faults
72
- --compute-static-cfs-fix-depth
73
- Compute static dCFS at fixed depth
74
- --run-static Create static stress library and Compute static dCFS on obs faults and Compute static dCFS at fixed depth
75
- --create-dynamic-lib Create dynamic stress library
76
- --compute-dynamic-cfs
77
- Compute dynamic dCFS on obs faults
78
- --compute-dynamic-cfs-fix-depth
79
- Compute dynamic dCFS at fixed depth
80
- --run-dynamic Create dynamic stress library and Compute dynamic dCFS on obs faults and Compute dynamic dCFS at fixed depth
81
- --run-all Create static and dynamic stress library and Compute static and dynamic dCFS
82
- ```
83
-
84
- 2. Import and use classes and functions in .py files
85
-
86
- ```
87
- from dyncfs.cfs_static import *
88
-
89
- if __name__ == "__main__":
90
- config = CfsConfig()
91
- config.read_config("example.ini")
92
- create_static_lib(config)
93
- compute_static_cfs_parallel(config)
94
- ```
95
-
96
- ```
97
- from dyncfs.cfs_dynamic import *
98
-
99
- if __name__ == "__main__":
100
- config = CfsConfig()
101
- config.read_config("example.ini")
102
- create_dynamic_lib(config)
103
- compute_dynamic_cfs_parallel(config)
104
- ```
1
+ # Introduction
2
+
3
+ This Python package serves as the frontend for calculating and building a Green's function library for synthetic seismograms and then compute the static/dynamic Coulomb Failure Stress Change. The backend consists of Wang Rongjiang's program for calculating synthetic seismograms, including EDGRN/EDCMP, [QSEIS_2006_STRESS](https://github.com/Zhou-Jiangcheng/QSEIS_2006_STRESS) and QSSP. Traveling time is calculated using [TAUP](https://github.com/crotwell/TauP). Some geographic coordinate transformations use code from [obspy](https://github.com/obspy/obspy).
4
+
5
+ References:
6
+ Wang, R. (1999). A simple orthonormalization method for stable and efficient computation of Green’s functions. *Bulletin of the Seismological Society of America* , *89* (3), 733–741. [https://doi.org/10.1785/BSSA0890030733](https://doi.org/10.1785/BSSA0890030733)
7
+
8
+ Wang, R. (2003). Computation of deformation induced by earthquakes in a multi-layered elastic crust—FORTRAN programs EDGRN/EDCMP. Computers & Geosciences, 29(2), 195–207. https://doi.org/10.1016/S0098-3004(02)00111-5
9
+
10
+ Wang, R., & Wang, H. (2007). A fast converging and anti-aliasing algorithm for green’s functions in terms of spherical or cylindrical harmonics. Geophysical Journal International, 170(1), 239–248. https://doi.org/10.1111/j.1365-246X.2007.03385.x
11
+
12
+ Wang, R., Heimann, S., Zhang, Y., Wang, H., & Dahm, T. (2017). Complete synthetic seismograms based on a spherical self-gravitating earth model with an atmosphere–ocean–mantle–core structure. Geophysical Journal International, 210(3), 1739–1764. https://doi.org/10.1093/gji/ggx259
13
+
14
+ # Installation
15
+
16
+ 1. Install the requirments by conda (conda 24.11.3)
17
+
18
+ ```
19
+ conda create -n cfs python=3.11
20
+ conda activate cfs
21
+ conda install openjdk jpype1 gfortran numpy scipy pandas matplotlib tqdm -c conda-forge
22
+ conda install geographiclib mpi4py -c conda-forge # optional
23
+ ```
24
+
25
+ or install the requirments using system package manager, such as apt (Debian 12)
26
+
27
+ ```
28
+ sudo apt install openjdk-17-jdk gfortran
29
+ sudo apt install openmpi-common # optional
30
+ ```
31
+
32
+ 2. Download this reposity and install by pip.
33
+
34
+ ```
35
+ git clone https://github.com/Zhou-Jiangcheng/dyncfs.git
36
+ cd dyncfs
37
+ pip install .
38
+ ```
39
+
40
+ For code modification and debugging, use editable mode:
41
+
42
+ ```
43
+ pip install -e .
44
+ ```
45
+
46
+ or install from pypi
47
+
48
+ ```
49
+ pip install dyncfs
50
+ ```
51
+
52
+ # Usage
53
+
54
+ Fill in all parameters in the .ini file, and prepare the input files as described in `example.ini`, including `source_plane[m].csv` and `obs_plane[n].csv` under the input directory, as well as `model.nd` representing the Earth model.
55
+
56
+ 1. Command-line usage
57
+
58
+ ```
59
+ dyncfs --help
60
+ ```
61
+
62
+ ```
63
+ usage: dyncfs [-h] --config CONFIG [--create-static-lib] [--compute-static-cfs] [--compute-static-cfs-fix-depth] [--run-static] [--create-dynamic-lib] [--compute-dynamic-cfs] [--compute-dynamic-cfs-fix-depth] [--run-dynamic] [--run-all]
64
+
65
+ dyncfs command line tool
66
+
67
+ options:
68
+ -h, --help show this help message and exit
69
+ --config CONFIG Path to the configuration file
70
+ --create-static-lib Create static stress library
71
+ --compute-static-cfs Compute static dCFS on obs faults
72
+ --compute-static-cfs-fix-depth
73
+ Compute static dCFS at fixed depth
74
+ --run-static Create static stress library and Compute static dCFS on obs faults and Compute static dCFS at fixed depth
75
+ --create-dynamic-lib Create dynamic stress library
76
+ --compute-dynamic-cfs
77
+ Compute dynamic dCFS on obs faults
78
+ --compute-dynamic-cfs-fix-depth
79
+ Compute dynamic dCFS at fixed depth
80
+ --run-dynamic Create dynamic stress library and Compute dynamic dCFS on obs faults and Compute dynamic dCFS at fixed depth
81
+ --run-all Create static and dynamic stress library and Compute static and dynamic dCFS
82
+ ```
83
+
84
+ 2. Import and use classes and functions in .py files
85
+
86
+ ```
87
+ from dyncfs.cfs_static import *
88
+
89
+ if __name__ == "__main__":
90
+ config = CfsConfig()
91
+ config.read_config("example.ini")
92
+ create_static_lib(config)
93
+ compute_static_cfs_parallel(config)
94
+ ```
95
+
96
+ ```
97
+ from dyncfs.cfs_dynamic import *
98
+
99
+ if __name__ == "__main__":
100
+ config = CfsConfig()
101
+ config.read_config("example.ini")
102
+ create_dynamic_lib(config)
103
+ compute_dynamic_cfs_parallel(config)
104
+ ```
@@ -1,8 +1,8 @@
1
- """
2
- dyncfs
3
- ==========
4
- A Python library for computing Coulomb Failure Stress Change in the layered Earth model.
5
-
6
- """
7
-
8
- __version__ = "1.0.0"
1
+ """
2
+ dyncfs
3
+ ==========
4
+ A Python library for computing Coulomb Failure Stress Change in the layered Earth model.
5
+
6
+ """
7
+
8
+ __version__ = "1.0.0"