Browse Source

pip install -e compat: src -> siria, setup.py update

pull/14/head
mmetz 1 month ago
parent
commit
9cdbe40075
  1. 29
      setup.py
  2. 0
      siria/__init__.py
  3. 0
      siria/apps/__init__.py
  4. 0
      siria/apps/ids.py
  5. 0
      siria/apps/mole.py
  6. 0
      siria/config.py
  7. 0
      siria/core.py
  8. 0
      siria/data/NNs/MT/model.h5
  9. 0
      siria/data/NNs/MT/scalingdict.bin
  10. 0
      siria/data/NNs/RS/model.h5
  11. 0
      siria/data/NNs/RS/scalingdict.bin
  12. 0
      siria/data/README.md
  13. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/0_GMPE.png
  14. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/0_NN.png
  15. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/0_Pyrocko.png
  16. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/mean_GMPE.png
  17. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/mean_NN.png
  18. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/mean_Pyrocko.png
  19. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/std_GMPE.png
  20. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/std_NN.png
  21. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/std_Pyrocko.png
  22. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wmean_GMPE.png
  23. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wmean_NN.png
  24. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wmean_Pyrocko.png
  25. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wstd_GMPE.png
  26. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wstd_NN.png
  27. 0
      siria/data/examples/gm/Samos2020/MTSource/plots/wstd_Pyrocko.png
  28. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.geojson
  29. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.pkl
  30. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_NN.geojson
  31. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_NN.pkl
  32. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.geojson
  33. 0
      siria/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.pkl
  34. 0
      siria/data/examples/gm/Samos2020/RectangularSource/data.yaml
  35. 0
      siria/data/examples/gm/Samos2020/RectangularSource/pdr_to_rs_mf_samos.yaml
  36. 0
      siria/data/examples/grond_dynamic_source.gronf
  37. 0
      siria/data/examples/grond_mt_source.gronf
  38. 0
      siria/data/examples/grond_rectangular_source.gronf
  39. 0
      siria/data/examples/ids.conf
  40. 0
      siria/data/tsumaps_all_params.mat
  41. 0
      siria/dataset/__init__.py
  42. 0
      siria/dataset/fault_loader/__init__.py
  43. 0
      siria/dataset/fault_loader/active_faults.py
  44. 0
      siria/dataset/fault_loader/diss.py
  45. 0
      siria/dataset/fault_loader/edsf.py
  46. 0
      siria/dataset/fault_loader/noafaults.py
  47. 0
      siria/dataset/faults.py
  48. 0
      siria/dataset/tsumaps.py
  49. 0
      siria/gm/__init__.py
  50. 0
      siria/gm/config.py
  51. 0
      siria/gm/gm_mapping.py
  52. 0
      siria/gm/gmpe.py
  53. 0
      siria/gm/module.py
  54. 0
      siria/gm/nn.py
  55. 0
      siria/gm/plot.py
  56. 0
      siria/gm/sources.py
  57. 0
      siria/gm/util.py
  58. 0
      siria/ids/__init__.py
  59. 0
      siria/ids/config.py
  60. 0
      siria/ids/core.py
  61. 0
      siria/ids/dataset.py
  62. 0
      siria/ids/report/__init__.py
  63. 0
      siria/ids/report/base.py
  64. 0
      siria/ids/report/plot.py
  65. 0
      siria/ids/targets/__init__.py
  66. 0
      siria/ids/targets/base.py
  67. 0
      siria/ids/targets/gnss.py
  68. 0
      siria/ids/targets/insar.py
  69. 0
      siria/ids/targets/waveform.py
  70. 0
      siria/io/__init__.py
  71. 0
      siria/io/grond.py
  72. 0
      siria/io/ids.py
  73. 0
      siria/ls/__init__.py
  74. 0
      siria/ls/config.py
  75. 0
      siria/ls/module.py
  76. 0
      siria/message/__init__.py
  77. 0
      siria/module.py
  78. 0
      siria/plot/__init__.py
  79. 0
      siria/plot/grond.py
  80. 0
      siria/plot/ids.py
  81. 0
      siria/scaling.py
  82. 0
      siria/si/__init__.py
  83. 0
      siria/si/config.py
  84. 0
      siria/si/demonstrator.py
  85. 0
      siria/si/invert.py
  86. 0
      siria/si/module.py
  87. 0
      siria/sources.py
  88. 0
      siria/store.py
  89. 0
      siria/util.py

29
setup.py

@ -1,8 +1,7 @@
from __future__ import absolute_import, division, print_function
import os
import os.path as op
from setuptools import setup
from setuptools.command.install import install
from setuptools import setup, find_packages
try:
import numpy
@ -35,27 +34,6 @@ def get_readme_paths():
return paths
class CustomInstallCommand(install):
def run(self):
install.run(self)
packages = [
'%s' % packname,
'%s.apps' % packname,
'%s.dataset' % packname,
'%s.dataset.fault_loader' % packname,
'%s.gm' % packname,
'%s.io' % packname,
'%s.ls' % packname,
'%s.message' % packname,
'%s.plot' % packname,
'%s.si' % packname,
'%s.ids' % packname,
'%s.ids.report' % packname,
'%s.ids.targets' % packname]
entry_points = {
'console_scripts':
['mole = %s.apps.mole:main' % packname,
@ -63,8 +41,6 @@ entry_points = {
setup(
cmdclass={
'install': CustomInstallCommand},
name=packname,
version=version,
author='mmetz',
@ -82,8 +58,7 @@ setup(
'console_scripts': ['PyQt5']
},
packages=packages,
package_dir={'siria': 'src'},
packages=find_packages(),
entry_points=entry_points,
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',

0
src/__init__.py → siria/__init__.py

0
src/apps/__init__.py → siria/apps/__init__.py

0
src/apps/ids.py → siria/apps/ids.py

0
src/apps/mole.py → siria/apps/mole.py

0
src/config.py → siria/config.py

0
src/core.py → siria/core.py

0
src/data/NNs/MT/model.h5 → siria/data/NNs/MT/model.h5

0
src/data/NNs/MT/scalingdict.bin → siria/data/NNs/MT/scalingdict.bin

0
src/data/NNs/RS/model.h5 → siria/data/NNs/RS/model.h5

0
src/data/NNs/RS/scalingdict.bin → siria/data/NNs/RS/scalingdict.bin

0
src/data/README.md → siria/data/README.md

0
src/data/examples/gm/Samos2020/MTSource/plots/0_GMPE.png → siria/data/examples/gm/Samos2020/MTSource/plots/0_GMPE.png

Before

Width:  |  Height:  |  Size: 246 KiB

After

Width:  |  Height:  |  Size: 246 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/0_NN.png → siria/data/examples/gm/Samos2020/MTSource/plots/0_NN.png

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

0
src/data/examples/gm/Samos2020/MTSource/plots/0_Pyrocko.png → siria/data/examples/gm/Samos2020/MTSource/plots/0_Pyrocko.png

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 232 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/mean_GMPE.png → siria/data/examples/gm/Samos2020/MTSource/plots/mean_GMPE.png

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 247 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/mean_NN.png → siria/data/examples/gm/Samos2020/MTSource/plots/mean_NN.png

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

0
src/data/examples/gm/Samos2020/MTSource/plots/mean_Pyrocko.png → siria/data/examples/gm/Samos2020/MTSource/plots/mean_Pyrocko.png

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 233 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/std_GMPE.png → siria/data/examples/gm/Samos2020/MTSource/plots/std_GMPE.png

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/std_NN.png → siria/data/examples/gm/Samos2020/MTSource/plots/std_NN.png

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

0
src/data/examples/gm/Samos2020/MTSource/plots/std_Pyrocko.png → siria/data/examples/gm/Samos2020/MTSource/plots/std_Pyrocko.png

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wmean_GMPE.png → siria/data/examples/gm/Samos2020/MTSource/plots/wmean_GMPE.png

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 247 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wmean_NN.png → siria/data/examples/gm/Samos2020/MTSource/plots/wmean_NN.png

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wmean_Pyrocko.png → siria/data/examples/gm/Samos2020/MTSource/plots/wmean_Pyrocko.png

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 233 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wstd_GMPE.png → siria/data/examples/gm/Samos2020/MTSource/plots/wstd_GMPE.png

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 183 KiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wstd_NN.png → siria/data/examples/gm/Samos2020/MTSource/plots/wstd_NN.png

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

0
src/data/examples/gm/Samos2020/MTSource/plots/wstd_Pyrocko.png → siria/data/examples/gm/Samos2020/MTSource/plots/wstd_Pyrocko.png

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 165 KiB

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.geojson → siria/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.geojson

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.pkl → siria/data/examples/gm/Samos2020/MTSource/predicted_data_GMPE.pkl

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_NN.geojson → siria/data/examples/gm/Samos2020/MTSource/predicted_data_NN.geojson

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_NN.pkl → siria/data/examples/gm/Samos2020/MTSource/predicted_data_NN.pkl

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.geojson → siria/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.geojson

0
src/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.pkl → siria/data/examples/gm/Samos2020/MTSource/predicted_data_Pyrocko.pkl

0
src/data/examples/gm/Samos2020/RectangularSource/data.yaml → siria/data/examples/gm/Samos2020/RectangularSource/data.yaml

0
src/data/examples/gm/Samos2020/RectangularSource/pdr_to_rs_mf_samos.yaml → siria/data/examples/gm/Samos2020/RectangularSource/pdr_to_rs_mf_samos.yaml

0
src/data/examples/grond_dynamic_source.gronf → siria/data/examples/grond_dynamic_source.gronf

0
src/data/examples/grond_mt_source.gronf → siria/data/examples/grond_mt_source.gronf

0
src/data/examples/grond_rectangular_source.gronf → siria/data/examples/grond_rectangular_source.gronf

0
src/data/examples/ids.conf → siria/data/examples/ids.conf

0
src/data/tsumaps_all_params.mat → siria/data/tsumaps_all_params.mat

0
src/dataset/__init__.py → siria/dataset/__init__.py

0
src/dataset/fault_loader/__init__.py → siria/dataset/fault_loader/__init__.py

0
src/dataset/fault_loader/active_faults.py → siria/dataset/fault_loader/active_faults.py

0
src/dataset/fault_loader/diss.py → siria/dataset/fault_loader/diss.py

0
src/dataset/fault_loader/edsf.py → siria/dataset/fault_loader/edsf.py

0
src/dataset/fault_loader/noafaults.py → siria/dataset/fault_loader/noafaults.py

0
src/dataset/faults.py → siria/dataset/faults.py

0
src/dataset/tsumaps.py → siria/dataset/tsumaps.py

0
src/gm/__init__.py → siria/gm/__init__.py

0
src/gm/config.py → siria/gm/config.py

0
src/gm/gm_mapping.py → siria/gm/gm_mapping.py

0
src/gm/gmpe.py → siria/gm/gmpe.py

0
src/gm/module.py → siria/gm/module.py

0
src/gm/nn.py → siria/gm/nn.py

0
src/gm/plot.py → siria/gm/plot.py

0
src/gm/sources.py → siria/gm/sources.py

0
src/gm/util.py → siria/gm/util.py

0
src/ids/__init__.py → siria/ids/__init__.py

0
src/ids/config.py → siria/ids/config.py

0
src/ids/core.py → siria/ids/core.py

0
src/ids/dataset.py → siria/ids/dataset.py

0
src/ids/report/__init__.py → siria/ids/report/__init__.py

0
src/ids/report/base.py → siria/ids/report/base.py

0
src/ids/report/plot.py → siria/ids/report/plot.py

0
src/ids/targets/__init__.py → siria/ids/targets/__init__.py

0
src/ids/targets/base.py → siria/ids/targets/base.py

0
src/ids/targets/gnss.py → siria/ids/targets/gnss.py

0
src/ids/targets/insar.py → siria/ids/targets/insar.py

0
src/ids/targets/waveform.py → siria/ids/targets/waveform.py

0
src/io/__init__.py → siria/io/__init__.py

0
src/io/grond.py → siria/io/grond.py

0
src/io/ids.py → siria/io/ids.py

0
src/ls/__init__.py → siria/ls/__init__.py

0
src/ls/config.py → siria/ls/config.py

0
src/ls/module.py → siria/ls/module.py

0
src/message/__init__.py → siria/message/__init__.py

0
src/module.py → siria/module.py

0
src/plot/__init__.py → siria/plot/__init__.py

0
src/plot/grond.py → siria/plot/grond.py

0
src/plot/ids.py → siria/plot/ids.py

0
src/scaling.py → siria/scaling.py

0
src/si/__init__.py → siria/si/__init__.py

0
src/si/config.py → siria/si/config.py

0
src/si/demonstrator.py → siria/si/demonstrator.py

0
src/si/invert.py → siria/si/invert.py

0
src/si/module.py → siria/si/module.py

0
src/sources.py → siria/sources.py

0
src/store.py → siria/store.py

0
src/util.py → siria/util.py

Loading…
Cancel
Save