"""Executes simobserve to create expected directory structure. Minimally, f"{project}/{project}.{suffix}" where suffix in ['skymodel','newmodel','compskymodel']."""
from casatools import ctsys, image, coordsys, componentlist, quanta
from casatasks import tclean, simobserve, simanalyze, casalog
configpath_int = ctsys.resolve('alma/simmos/vla.a.cfg')
imagepath_int = ctsys.resolve('nrao/VLA/CalModels/3C286_Q.im/')
configpath_both_int = ctsys.resolve('alma/simmos/aca.cycle7.cfg')
configpath_sd = ctsys.resolve('alma/simmos/aca.tp.cfg')
mspath_sd = ctsys.resolve('unittest/simanalyze/refim_twopoints_twochan.ms')
logpath = casalog.logfile()
int_project = 'sim_interferometric'
sd_project = 'sim_single_dish'
imagepath_sd = 'sd_model.image'
both_project = 'sim_both'
both_component_list = 'J0319+4130.cl'
both_model_image_int = both_component_list[:-3]+'.im'
both_model_image_sd = both_component_list[:-3]+'_rebin.im'
class simanalyze_main_usage_modes_test_int(unittest.TestCase):
simobserve(project=int_project, skymodel=imagepath_int, complist='', setpointings=True, direction=[],
mapsize='', maptype='square', pointingspacing='',caldirection='',calflux='1Jy',obsmode='int',
refdate='2020/02/13', hourangle='transit', totaltime='100s', antennalist=configpath_int,
outframe='LSRK', thermalnoise='', leakage=0.0, graphics='none',verbose=False, overwrite=False)