pick_d520_depths ================ .. py:module:: pick_d520_depths .. autoapi-nested-parse:: Pick Moho depths... Location: Chavannes-pres-renens, CH Date: Aug 2022 Author: Konstantinos Michailos Attributes ---------- .. autoapisummary:: pick_d520_depths.fontsize pick_d520_depths.markersize pick_d520_depths.data_root_dir pick_d520_depths.work_dir pick_d520_depths.path pick_d520_depths.inc pick_d520_depths.zmax pick_d520_depths.minx pick_d520_depths.maxx pick_d520_depths.pasx pick_d520_depths.miny pick_d520_depths.maxy pick_d520_depths.pasy pick_d520_depths.minz pick_d520_depths.maxz pick_d520_depths.pasz pick_d520_depths.m_params pick_d520_depths.sta pick_d520_depths.mObs_ep pick_d520_depths.G2 pick_d520_depths.G2 Functions --------- .. autoapisummary:: pick_d520_depths.add_legend pick_d520_depths.add_colorbar pick_d520_depths.get_end_point pick_d520_depths.az2baz pick_d520_depths.get_perpendicular_azimuth pick_d520_depths.project pick_d520_depths.project_stations pick_d520_depths.plot_moho_picker1 Module Contents --------------- .. py:function:: add_legend(ax, fontsize=12) .. py:function:: add_colorbar(ax, m, title=False, ticks=False, ticks_Flag=False, visible=True) .. py:data:: fontsize :value: 12 .. py:data:: markersize :value: 100 .. py:function:: get_end_point(lat1, lon1, baz, d) Calculates the end point in lon, lat given we know: 1) the initial point, 2) the distance and 3) the back azimuth .. py:function:: az2baz(angle) .. py:function:: get_perpendicular_azimuth(az) .. py:function:: project(station_lats, station_lons, point_lat, point_lon, angle) Projects stations coordinates to a given point (lon, lat) in respect to an angle to the north. NOTE: Takes station coordinates and projects them with respect to the center of the profile and the angle of the profile with respect to the North direction. Output is in [km] for x,y coordinates with respect to lono and lato :param station_lats: Seismic station's latitudes in degrees. :param station_lons: Seismic station's longitudes in degrees. :param point_lat: Given point's latitude in degrees. :param point_lon: Given point's longitude in degrees. :param angle: Azimuthal angle in degrees. :returns: Distance in km parallel and perpendicular to the given line. .. py:function:: project_stations(sta, ori_prof, point_lat, point_lon) Projects stations to a given line. :type sta: Pandas DataFrames. :param sta: Station details. :param ori_prof: Azimuthal angle in degrees. :param point_lat: Given point's latitude in degrees. :param point_lon: Given point's longitude in degrees. :return: Pandas DataFrame with station details and distance along profile and elevation .. py:function:: plot_moho_picker1(Gp, xx, zz, migration_param_dict, sta, work_directory, profile, profile_name, path4file) :param Gp: :param xx: :param zz: :param migration_param_dict: :param work_directory: :return: .. py:data:: data_root_dir :value: '/media/kalmard/SEISMIC_DATA/Data_archive' .. py:data:: work_dir .. py:data:: path :value: '/home/kalmard/Post_doc/Prf_mtz/matlab_deconvolution/test2/' .. py:data:: inc :value: 2 .. py:data:: zmax :value: 800 .. py:data:: minx :value: -13.0 .. py:data:: maxx :value: 46.0 .. py:data:: pasx :value: 0.26 .. py:data:: miny :value: 30.0 .. py:data:: maxy :value: 64.0 .. py:data:: pasy :value: 0.18 .. py:data:: minz :value: -5 .. py:data:: maxz :value: 800 .. py:data:: pasz :value: 2 .. py:data:: m_params .. py:data:: sta .. py:data:: mObs_ep .. py:data:: G2 .. py:data:: G2