Loading etl/assets/constants/__init__.py +44 −0 Changes for etl/assets/constants/__init__.py: 44 added lines, 0 removed lines. Original line number Diff line number Diff line import os import yaml import numpy as np continuum_fits = { 'G332.96': 'tG332.96.cont_1.33mm.12m7m.multiscale.image.fits', 'G28': 'tG028.27.cont_1.33mm.12m7m.multiscale.image.fits', 'G14': 'tG014.49.cont_1.33mm.12m7m.multiscale.image.fits', } main_line_intensity_indices = { 'CH3OH': (3, 9, 15), 'N2H+': (0, 3, 6) } velocity_indices = { 'CH3OH': (1, 7, 13), 'N2H+': (1, 4, 7) } linewidth_indices = { 'CH3OH': (2, 8, 14), 'N2H+': (2, 5, 8) } source_names = ['G332.96', 'G28', 'G14', ] datadir = os.path.join('assets', 'data') with open(os.path.join(datadir, 'source_properties.yml'), 'r') as infile: source_properties = yaml.load(infile, Loader=yaml.FullLoader) with open(os.path.join('mdl', 'config', 'config.yml'), 'r') as infile: config_mdl = yaml.load(infile, Loader=yaml.FullLoader) with open(os.path.join('config', 'config_visfit.yml'), 'r') as infile: config_vis3d = yaml.load(infile, Loader=yaml.FullLoader) independent_indices = { 'CH3OH': np.array((0, 1, 2, 3, 6, 9)), 'N2H+': np.array((0, 1, 2,)) } ncomponents = 3 species_names = ['CH3OH', 'N2H+'] peaks_per_component = { 'CH3OH': 4, 'N2H+': 1 } detection_index = { 'CH3OH': 3, 'N2H+': 0 } etl/config/config_visfit.yml +2 −2 Changes for etl/config/config_visfit.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ G28: { n_clusters: 3, min_velocity: -inf, surface_point: [272, 278, 79.2268463], plot_velocity_limits: [75, 85], plot_species: ['N2H+'], plot_velocity_limits: [74, 81], plot_species: ['CH3OH'], continuum_limits: [0.1, 3] } G14: { Loading etl/prs/prs_visfit_3d_velocities.py +410 −133 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
etl/assets/constants/__init__.py +44 −0 Changes for etl/assets/constants/__init__.py: 44 added lines, 0 removed lines. Original line number Diff line number Diff line import os import yaml import numpy as np continuum_fits = { 'G332.96': 'tG332.96.cont_1.33mm.12m7m.multiscale.image.fits', 'G28': 'tG028.27.cont_1.33mm.12m7m.multiscale.image.fits', 'G14': 'tG014.49.cont_1.33mm.12m7m.multiscale.image.fits', } main_line_intensity_indices = { 'CH3OH': (3, 9, 15), 'N2H+': (0, 3, 6) } velocity_indices = { 'CH3OH': (1, 7, 13), 'N2H+': (1, 4, 7) } linewidth_indices = { 'CH3OH': (2, 8, 14), 'N2H+': (2, 5, 8) } source_names = ['G332.96', 'G28', 'G14', ] datadir = os.path.join('assets', 'data') with open(os.path.join(datadir, 'source_properties.yml'), 'r') as infile: source_properties = yaml.load(infile, Loader=yaml.FullLoader) with open(os.path.join('mdl', 'config', 'config.yml'), 'r') as infile: config_mdl = yaml.load(infile, Loader=yaml.FullLoader) with open(os.path.join('config', 'config_visfit.yml'), 'r') as infile: config_vis3d = yaml.load(infile, Loader=yaml.FullLoader) independent_indices = { 'CH3OH': np.array((0, 1, 2, 3, 6, 9)), 'N2H+': np.array((0, 1, 2,)) } ncomponents = 3 species_names = ['CH3OH', 'N2H+'] peaks_per_component = { 'CH3OH': 4, 'N2H+': 1 } detection_index = { 'CH3OH': 3, 'N2H+': 0 }
etl/config/config_visfit.yml +2 −2 Changes for etl/config/config_visfit.yml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ G28: { n_clusters: 3, min_velocity: -inf, surface_point: [272, 278, 79.2268463], plot_velocity_limits: [75, 85], plot_species: ['N2H+'], plot_velocity_limits: [74, 81], plot_species: ['CH3OH'], continuum_limits: [0.1, 3] } G14: { Loading
etl/prs/prs_visfit_3d_velocities.py +410 −133 File changed.Preview size limit exceeded, changes collapsed. Show changes