The plan for this one is to create 10 new "Alice" masks Note that in past runs, "Alice" was sometimes called "DLG6"

In [1]:
# This changes the current directory to the base saga directory - make sure to run this first!
# This is necessary to be able to import the py files and use the right directories,
# while keeping all the notebooks in their own directory.
import os
import sys

if 'saga_base_dir' not in locals():
    saga_base_dir = os.path.abspath('..')
if saga_base_dir not in sys.path:
    os.chdir(saga_base_dir)

In [10]:
for module in ['hosts', 'targeting', 'magellan']:
    if module in globals():
        reload(globals()[module])
    else:
        globals()[module] = __import__(module)
#g = targeting.get_gama() #re-caches the gama catalog

Early March


In [35]:
hosts.aiw.sdss_environs_query(True)
hosts.aiw.usnob_environs_query(True)


File catalogs/AliceInWonderland_sdss.dat exists - not downloading anything.
File catalogs/AliceInWonderland_usnob.dat exists - not downloading anything.

In [37]:
magellan.build_imacs_targeting_files(hosts.aiw, 'Marchi/Munoz', selectkws=dict(removegama=None))
magellan.add_use('imacs_targets/AIW.cat', 'imacs_targets/AIW.cat', ['imacs_targets/DLG6_3.obw'])


Wrote catalog to imacs_targets/AIW.cat
Wrote obs file to imacs_targets/AIW_ini.obs
Trying to mark 213 objects as used in imacs_targets/AIW.cat to make imacs_targets/AIW.cat
1 objects in obw files ['imacs_targets/DLG6_3.obw'] were not matched in imacs_targets/AIW.cat
Out[37]:
{'@DLG6': 1}
Now actually do the selection w/ intgui to make 10 objects, starting from AIW_4

In [38]:
hosts.aiw.physical_to_projected(300)


Out[38]:
44.860048780483183

In [108]:
magellan.plot_imacs_masks(hosts.aiw, eastleft=True)


['imacs_targets/AIW_4.SMF', 'imacs_targets/AIW_5.SMF', 'imacs_targets/AIW_6.SMF', 'imacs_targets/AIW_7.SMF', 'imacs_targets/AIW_8.SMF', 'imacs_targets/AIW_9.SMF', 'imacs_targets/AIW_10.SMF', 'imacs_targets/AIW_11.SMF', 'imacs_targets/AIW_12.SMF', 'imacs_targets/AIW_13.SMF']

In [63]:
from matplotlib import pyplot as plt

March 25

Need 2 more masks for the rest of the run

In [3]:
hosts.aiw.sdss_environs_query(True)
hosts.aiw.usnob_environs_query(True)


File catalogs/AliceInWonderland_sdss.dat exists - not downloading anything.
File catalogs/AliceInWonderland_usnob.dat exists - not downloading anything.
Now actually do the selection w/ intgui to make 2 more objects, starting from AIW_13

In [6]:
magellan.plot_imacs_masks(hosts.aiw, eastleft=True)


['imacs_targets/AIW_4.SMF', 'imacs_targets/AIW_5.SMF', 'imacs_targets/AIW_6.SMF', 'imacs_targets/AIW_7.SMF', 'imacs_targets/AIW_8.SMF', 'imacs_targets/AIW_9.SMF', 'imacs_targets/AIW_10.SMF', 'imacs_targets/AIW_11.SMF', 'imacs_targets/AIW_12.SMF', 'imacs_targets/AIW_13.SMF', 'imacs_targets/AIW_14.SMF', 'imacs_targets/AIW_15.SMF']
Total targets= 847

As of June 6


In [12]:
magellan.plot_imacs_masks(hosts.aiw, eastleft=True, altname='DLG6', skipnums=[12,13,14,15])


['imacs_targets/DLG6_1.SMF', 'imacs_targets/DLG6_2.SMF', 'imacs_targets/DLG6_3.SMF', 'imacs_targets/AIW_4.SMF', 'imacs_targets/AIW_5.SMF', 'imacs_targets/AIW_6.SMF', 'imacs_targets/AIW_7.SMF', 'imacs_targets/AIW_8.SMF', 'imacs_targets/AIW_9.SMF', 'imacs_targets/AIW_10.SMF', 'imacs_targets/AIW_11.SMF', 'imacs_targets/AIW_12.SMF', 'imacs_targets/AIW_13.SMF', 'imacs_targets/AIW_14.SMF', 'imacs_targets/AIW_15.SMF']
Total targets= 774

In [27]:
targs = targeting.select_targets(hosts.aiw, removegama=None,outercutrad=30*u.arcmin)
len(targs)


Removing 164 objects at high z, keeping 1 (total of 28423 objects)
Out[27]:
3840

In [ ]: