comparison.model_selection.view_observation#
- view_observation(path='/mnt/hpc_backup/yanitski/projects/pdr/observational_data/MilkyWay/', mission='COGAL', transition='', regridded_path='/regridded/', filename='CO1_obs_regridded.fits', plot='integrated', integrate_b=[], i_lat=None, list_observations=False, xlabel='', ylabel='', clabel='', title='', fontsize=16, scale=1, logval=False, vmin=0, vmax=None, cmap='viridis', xlim=None, ylim=None, save=False)[source]#
This function will plot the specified (regridded) observation. By default it prints the integrated emission.
- Parameters:
path – Directory containing the observational data.
mission – Name of the survey you wish to view.
regridded_path – folder name for the regridded data. This should usually be ‘/regridded/’, but some surveys might require ‘/regridded/temp/’
filename – Directory containing the observational data.
plot – The type of plot to create with this function. - ‘integrated’ - ‘pv’ By default it ‘integrated’.
title – The title of the produced plot.
list_observations – Set this flag to True to print the available observation files.
- Returns: