repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
synfeal | synfeal-main/models/depthnet.py | import torch
import torch.nn as nn
import torch.nn.parallel
import torch.utils.data
import numpy as np
import torch.nn.functional as F
class CNNDepth(nn.Module): #https://towardsdatascience.com/covolutional-neural-network-cb0883dd6529
def __init__(self):
super(CNNDepth, self).__init__() # call th... | 45,692 | 44.784569 | 152 | py |
synfeal | synfeal-main/models/hourglass.py |
import torch
import torch.nn as nn
import torch.nn.parallel
import torch.utils.data
import torch.nn.functional as F
from torchvision import transforms, models
# paper: https://arxiv.org/abs/1703.07971
# github: https://github.com/youngguncho/HourglassPose-Pytorch/blob/master/model.py
class HourglassBatch(nn.Module):... | 4,639 | 36.723577 | 120 | py |
synfeal | synfeal-main/process_dataset/src/validate_dataset.py | from utils import projectToCamera
import numpy as np
import os
import shutil
from dataset import Dataset
from sensor_msgs.msg import PointField
import sensor_msgs.point_cloud2 as pc2
# from utils import
from utils_ros import read_pcd, write_pcd
import random
from os.path import exists
import yaml
from colorama import ... | 37,230 | 49.312162 | 140 | py |
synfeal | synfeal-main/process_dataset/src/__init__.py | 0 | 0 | 0 | py | |
synfeal | synfeal-main/process_dataset/scripts/reduce_dataset.py | #!/usr/bin/env python3
# stdlib
import sys
import argparse
import copy
# 3rd-party
from dataset import Dataset
import os
import shutil
import yaml
def main():
parser = argparse.ArgumentParser(description='Validate dataset')
parser.add_argument('-d', '--dataset', type=str, required=True, help='Name of the... | 2,174 | 30.071429 | 128 | py |
synfeal | synfeal-main/synfeal_bringup/scripts/model_states_to_tf.py | #!/usr/bin/env python3
# --------------------------------------------------
# Adapted from http://wiki.ros.org/tf2/Tutorials/Writing%20a%20tf2%20broadcaster%20%28Python%29
# -------------------------------------------------
from functools import partial
import rospy
import tf2_ros
import geometry_msgs.msg
from gazebo... | 1,631 | 33.723404 | 105 | py |
synfeal | synfeal-main/synfeal_visualization/src/generate_real_vs_predicted.py | #!/usr/bin/env python3
import rospy
import os
from gazebo_msgs.srv import SetModelState, GetModelState, GetModelStateRequest, SetModelStateRequest
from colorama import Fore
from sensor_msgs.msg import Image
from cv_bridge import CvBridge
from utils import write_img
class GenerateRealPredicted():
def __init... | 2,221 | 39.4 | 124 | py |
synfeal | synfeal-main/produce_results/src/results.py | import numpy as np
import pandas as pd
import os
import yaml
from yaml.loader import SafeLoader
from utils import matrixToXYZ, matrixToQuaternion, normalize_quat
class Results():
def __init__(self, results_path):
path=os.environ.get("SYNFEAL_DATASET")
self.path = f'{path}/results/localbot/{results... | 1,911 | 32.54386 | 105 | py |
synfeal | synfeal-main/produce_results/src/save_results.py | #!/usr/bin/env python3
import os
import yaml
import pandas as pd
import shutil
import matplotlib.pyplot as plt
from utils import write_transformation
from colorama import Fore
from datetime import datetime
class SaveResults():
"""
class to save results
"""
def __init__(self, output, model_path, ... | 4,142 | 37.719626 | 121 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/catalog/pylib_catalog.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 20 10:39:12 2021
@author: glavrent
"""
#load libraries
#arithmetic libraries
import numpy as np
def IndexAvgColumns(df_data, col_idx, col2avg):
'''
Average columns based on index column
Parameters
----------
df_data : pd.dataf... | 3,361 | 26.557377 | 104 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/catalog/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/plotting/pylib_contour_plots.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Nov 9 13:12:38 2019
@author: glavrent
"""
## load libraries
#arithmetic
import numpy as np
from scipy.interpolate import griddata
from scipy.ndimage import gaussian_filter
#plotting
import matplotlib
import matplotlib.pyplot as plt
from mpl_toolkits.a... | 35,537 | 40.613583 | 154 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/plotting/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/pylib_gmm_eas.py | # ba18.py
# Conversion of Jeff Bayless' MATLAB code to Python
# Including class ba18
# I've tried to avoid mixed UPPER and lower case variable names
# e.g. Mbreak, Rrup, Vsref
#arithmetic libraries
import numpy as np
import numpy.matlib
from scipy import linalg as scipylalg
from scipy import sparse as scipysp
#geog... | 14,209 | 36.005208 | 161 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/pylib_Willis15CA_Vs30.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 2 19:01:47 2021
@author: glavrent
"""
#load variables
import pathlib
import numpy as np
import rasterio
class Willis15Vs30CA:
def __init__(self, fname_vs30map_med=None, fname_vs30map_sig=None):
#file path
root = pathlib.P... | 1,564 | 36.261905 | 188 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/pylib_NGMM_prediction.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 20 14:54:54 2022
@author: glavrent
"""
# Packages
# ---------------------------
#arithmetic libraries
import numpy as np
from scipy import linalg as scipylinalg
from sklearn.gaussian_process.kernels import Matern
#user functions
import pylib_kerne... | 21,359 | 54.051546 | 154 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/pylib_cell_dist.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun May 3 17:25:10 2020
@author: glavrent
"""
#load libraries
import numpy as np
import geopy.distance as geopydist
def ComputeDistUnGridCells(pt1, pt2, cells, diffx, diffy, flagUTM=False):
'''
Compute the path distances of uniformly gridded cell... | 9,551 | 32.75265 | 95 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/ground_motions/pylib_kernels.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 20 13:52:51 2022
@author: glavrent
"""
# Packages
# ---------------------------
#arithmetic libraries
import numpy as np
from scipy import linalg as scipylinalg
from sklearn.gaussian_process.kernels import Matern
# Kernel Functions
#-------------... | 21,651 | 34.966777 | 128 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/QGIS/pylib_QGIS.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue May 19 11:04:00 2020
@author: glavrent
"""
#load libraries
#load GIS
from qgis.core import QgsVectorLayer, QgsPointXY
from qgis.core import QgsField, QgsFeature, QgsGeometry, QgsVectorFileWriter, QgsFeatureSink
from qgis.PyQt.QtCore import QVariant
d... | 3,513 | 31.841121 | 92 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/QGIS/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pylib_stats.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 13:56:13 2022
@author: glavrent
Other python statistics functions
"""
#imprort libraries
import numpy as np
def CalcRMS(samp_q, samp_p):
'''
Compute root mean square error between observation samples (samp_p) and
model samples (sa... | 1,508 | 19.671233 | 78 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/__init__.py | 0 | 0 | 0 | py | |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model3_uncorr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
im... | 21,718 | 46.944812 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model2_uncorr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse... | 19,298 | 46.185819 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model1_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#imprort libraries
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries... | 15,691 | 44.616279 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model2_uncorr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
im... | 19,042 | 46.136139 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model2_corr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
im... | 19,072 | 46.093827 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model2_corr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse... | 19,326 | 46.139024 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/pystan/regression_pystan_model3_corr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import os
import pathlib
import glob
import re #regular expression package
import pickle
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
im... | 21,689 | 46.986726 | 130 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model1_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 13 18:22:15 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
from matplotlib.ticker im... | 14,382 | 45.247588 | 127 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model2_corr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl... | 17,927 | 46.808 | 120 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model2_uncorr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
from matplotlib.ticker im... | 17,759 | 46.741935 | 120 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model3_uncorr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
from matplotlib.ticker im... | 19,904 | 47.667482 | 128 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model3_uncorr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl... | 20,144 | 47.65942 | 128 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model2_corr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
from matplotlib.ticker im... | 17,672 | 46.764865 | 120 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model3_corr_cells_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
from matplotlib.ticker im... | 20,112 | 47.699758 | 128 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model2_uncorr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl
... | 18,013 | 46.782493 | 120 | py |
ngmm_tools | ngmm_tools-master/Analyses/Python_lib/regression/cmdstan/regression_cmdstan_model3_corr_cells_sparse_unbounded_hyp.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:13:49 2021
@author: glavrent
"""
#load variables
import pathlib
from joblib import cpu_count
#arithmetic libraries
import numpy as np
from scipy import sparse
#statistics libraries
import pandas as pd
#plot libraries
import matplotlib as mpl... | 20,349 | 47.684211 | 128 | py |
ngmm_tools | ngmm_tools-master/Analyses/Prediction/create_scen_dataframe.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 20 17:26:17 2022
@author: glavrent
"""
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#geographic libraries
import pyproj
import geopy.distance
#user libraries... | 3,049 | 28.61165 | 140 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/synthetic_datasets/create_synthetic_ds1.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 1 21:25:34 2021
@author: glavrent
"""
# load libraries
import os
import pathlib
# arithmetic libraries
import numpy as np
# statistics libraries
import pandas as pd
# python interface to Stan for Bayesian inference
# for installation check https://... | 6,252 | 34.528409 | 110 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/synthetic_datasets/create_synthetic_ds3.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 26 15:47:17 2021
@author: glavrent
"""
# load libraries
import os
import pathlib
# arithmetic libraries
import numpy as np
# statistics libraries
import pandas as pd
# python interface to Stan for Bayesian inference
# for installation check https://... | 12,361 | 40.206667 | 117 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/synthetic_datasets/create_synthetic_ds2.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 1 21:25:34 2021
@author: glavrent
"""
# load libraries
import os
import pathlib
# arithmetic libraries
import numpy as np
# statistics libraries
import pandas as pd
# python interface to Stan for Bayesian inference
# for installation check https://... | 10,211 | 38.890625 | 117 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_pystan_model1_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,687 | 30.793103 | 90 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_stan_model1.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 20:52:09 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 29,388 | 37.977454 | 153 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_inla_model1_time.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 22:38:50 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 2,861 | 25.747664 | 132 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_stan_inla_model1_misfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jun 10 15:40:29 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 5,403 | 31.95122 | 158 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_model1_misfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 7,051 | 29.79476 | 162 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_inla_model1.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 20:52:09 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries... | 30,341 | 38.71466 | 155 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_cmdstan_model1_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,227 | 29.742857 | 92 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_inla_model1_misfit_mesh.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 8,074 | 32.094262 | 148 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_stan_model1_misfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#change working directory
import os
os.chdir('/mnt/halcloud_nfs/glavrent/Research/Nonerg_GMM_methodology/Analyses/Code_Verification/regressions/ds1... | 6,363 | 28.738318 | 164 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_pystan_model1_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,544 | 29.826087 | 90 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_cmdstan_model1_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,436 | 30.824074 | 92 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_cmdstan_model1_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,316 | 30 | 92 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/main_pystan_model1_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,244 | 29.327103 | 90 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds1/comparison_inla_model1_misfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#change working directory
import os
os.chdir('/mnt/halcloud_nfs/glavrent/Research/Nonerg_GMM_methodology/Analyses/Code_Verification/regressions/ds1... | 4,303 | 26.767742 | 132 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest2CANorth_sparse.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,573 | 29.547009 | 105 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,608 | 33.916667 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/comparison_stan_model2_corr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 37,471 | 38.320042 | 153 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,412 | 32.687023 | 108 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/comparison_model2_misfit_stan_sparse.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 7,569 | 31.48927 | 140 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_uncorr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,311 | 32.169231 | 103 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest2CA_sparse.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,545 | 29.307692 | 105 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/comparison_inla_model2_uncorr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 35,819 | 39.022346 | 160 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_uncorr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,831 | 30.933333 | 103 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_uncorr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,298 | 33.669355 | 109 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_uncorr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,177 | 32.96748 | 109 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_corr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,078 | 32.710744 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_corr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,274 | 33.475806 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_uncorr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,181 | 31.418605 | 103 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_uncorr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,084 | 32.760331 | 109 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest3CA_sparse.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,379 | 28.911504 | 105 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/comparison_stan_model2_uncorr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 35,753 | 38.682575 | 153 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/comparison_model2_misfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 15 14:50:27 2022
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load variables
import os
import sys
import pathlib
#arithmetic libraries
import numpy as np
#statistics libraries
import pandas as pd
#plot librar... | 6,888 | 29.892377 | 140 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_cmdstan_model2_corr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 4,163 | 32.853659 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds2/main_pystan_model2_corr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,811 | 30.766667 | 101 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_uncorr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,445 | 28.20339 | 100 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_corr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,778 | 30.491667 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_corr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,888 | 31.140496 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_corr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,441 | 28.169492 | 98 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_uncorr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,899 | 31.231405 | 109 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/comparison_inla_model3_uncorr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 47,785 | 39.088926 | 160 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_uncorr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,534 | 28.458333 | 100 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_corr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,530 | 28.425 | 98 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/comparison_stan_model3_corr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 49,612 | 38.658673 | 153 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_uncorr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,698 | 30.347458 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_uncorr_cells_NGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,789 | 30.583333 | 109 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_cmdstan_model3_corr_cells_NGAWest3CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 29 15:16:15 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,777 | 30.747899 | 107 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/comparison_stan_model3_uncorr_cells.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 12 10:26:06 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load packages
import os
import sys
import pathlib
import glob
import re #regular expression package
import pickle
#arithmetic libraries
... | 47,186 | 38.686291 | 153 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_corr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,635 | 29.049587 | 98 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/regression/ds3/main_pystan_model3_uncorr_cells_NGAWest2CANorth.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 14 14:17:52 2021
@author: glavrent
"""
# Working directory and Packages
# ---------------------------
#load libraries
import os
import sys
import numpy as np
import pandas as pd
import time
#user functions
sys.path.insert(0,'../../../Python_lib/regr... | 3,639 | 29.082645 | 100 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/CreateCatalogNGAWest2CA.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 27 22:58:16 2021
@author: glavrent
"""
# %% Required Packages
# ======================================
#load libraries
import os
import sys
import pathlib
import glob
import re #regular expression package
#arithmetic libraries
import numpy... | 11,132 | 39.631387 | 164 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/CreateCatalogNewEvents2017.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 27 16:12:57 2021
@author: glavrent
"""
# Required Packages
# ======================================
#load libraries
import os
import sys
import pathlib
import glob
import re #regular expression package
#arithmetic libraries
import numpy as... | 11,196 | 41.25283 | 165 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/CreateCatalogNewEvents2021Raw.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 5 09:37:23 2021
@author: glavrent
"""
# %% Required Packages
# ======================================
#load libraries
import os
import sys
import pathlib
import re
#arithmetic libraries
import numpy as np
import pandas as pd
#geographical libraries... | 8,640 | 36.569565 | 154 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/CreateCatalogNewEvents2021.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 27 16:12:57 2021
@author: glavrent
"""
# Required Packages
# ======================================
#load libraries
import os
import sys
import pathlib
import glob
import re #regular expression package
#arithmetic libraries
import numpy as... | 15,785 | 44.889535 | 162 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/PlotCellPaths.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 13 18:00:32 2020
@author: glavrent
"""
# %% Required Packages
# ======================================
#load variables
import os
import sys
import pathlib
import glob
import re #regular expression package
#arithmetic libraries
import numpy... | 5,935 | 34.54491 | 143 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/PlotUsableMagRrupCatalog.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Oct 4 16:32:37 2021
@author: glavrent
"""
# %% Required Packages
# ======================================
#load libraries
import os
import pathlib
#arithmetic libraries
import numpy as np
import pandas as pd
#plotting libraries
from matplotlib import p... | 2,814 | 33.753086 | 117 | py |
ngmm_tools | ngmm_tools-master/Analyses/Code_Verification/preprocessing/ComputeCellDistance.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 9 11:04:25 2020
@author: glavrent
"""
# Required Packages
# ======================================
#load libraries
import os
import sys
import pathlib
import numpy as np
import pandas as pd
from scipy import sparse
#geographic libraries
import pypr... | 7,014 | 33.219512 | 127 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.