def createInstrument(director): cinstr( director, name='Pharos', short_description='Pharos. place holder', long_description='long description here', category='ins', creator='vnf', date='08/11/2008', components=[], status = 'offline', ) return
def createInstrument(director): cinstr( director, name='Pharos', short_description='Pharos. place holder', long_description='long description here', category='ins', creator='vnf', date='08/11/2008', components=[], status='offline', ) return
def createInstrument(director): mod = moderator() # the default neutron profile is initd at content/components/initdb/snsmoderatormcsimulateddata.odb # this means the snsmoderatormcsimulateddata table should be initd before instruments # table mod.neutronprofile = director.clerk.orm.load( SNSModeratorMCSimulatedData, 'sct521_bu_17_1-ARCS') from _utils import ccomp, cinstr components = [ ccomp('moderator', mod, ((0,0,0), (0,0,0), '')), ccomp('core_ves', core_ves(), ((0,0,1.0106), (0,0,0), '')), ccomp('shutter_guide', shutter_guide(), ((0,0,2.26790), (0,0,0), '')), ccomp('guide_1_1_1', guide_1_1_1(), ((0,0,4.17230), (0,0,0), '')), ccomp('guide_1_1_2', guide_1_1_2(), ((0,0,4.65589), (0,0,0), '')), ccomp('guide_1_1_3', guide_1_1_3(), ((0,0,5.13948), (0,0,0), '')), ccomp('guide_1_2_1', guide_1_2_1(), ((0,0,5.62331), (0,0,0), '')), ccomp('guide_1_2_2', guide_1_2_2(), ((0,0,6.10690), (0,0,0), '')), ccomp('guide_1_2_3', guide_1_2_3(), ((0,0,6.59049), (0,0,0), '')), ccomp('guide_1_3_1', guide_1_3_1(), ((0,0,7.07433), (0,0,0), '')), ccomp('guide_1_3_2', guide_1_3_2(), ((0,0,7.55792), (0,0,0), '')), ccomp('guide_1_3_3', guide_1_3_3(), ((0,0,8.04145), (0,0,0), '')), ccomp('t0_chopp', t0_chopp(), ((0,0,8.77), (0,0,0), '')), ccomp('guide_2_1', guide_2_1(), ((0,0,9.47504), (0,0,0), '')), ccomp('guide_2_2', guide_2_2(), ((0,0,9.87713), (0,0,0), '')), ccomp('guide_2_3', guide_2_3(), ((0,0,10.27922), (0,0,0), '')), ccomp('guide_2_4', guide_2_4(), ((0,0,10.68131), (0,0,0), '')), ccomp('guide_2_5', guide_2_5(), ((0,0,11.08340), (0,0,0), '')), ccomp('fermi_chopp', fermi_chopp(), ((0,0,11.61), (0,0,0), '')), ccomp('tofmonitor1', tofmonitor1(), ((0,0,11.831), (0,0,0), '')), ccomp('guide_3', guide_3(), ((0,0,11.84975), (0,0,0), '')), ccomp('guide_4_1', guide_4_1(), ((0,0,12.08825), (0,0,0), '')), ccomp('guide_4_2', guide_4_2(), ((0,0,12.55105), (0,0,0), '')), # ccomp('guide_5', guide_5(), ((0,0,13.01830), (0,0,0), '')), ccomp('neutron_recorder', neutron_recorder(), ((0,0,13.5), (0,0,0), '')), ccomp('tofmonitor2', tofmonitor2(), ((0,0,18.5), (0,0,0), '')), ] instrument = cinstr( director, name = 'ARCS_beam', short_description = 'ARCS instrument down to the sample position', long_description = '''ARCS is a wide Angular-Range, direct-geometry, time-of-flight Chopper Spectrometer at the Spallation Neutron Source. It is optimized to provide a high neutron flux at the sample, and a large solid angle of detector coverage. This virtual instrument simulates neutrons being emitted from moderator and going through neutron optics of ARCS until they reach the sample position. Those neutrons are then saved and can be used to study inelastic neutron scattering of samples later. ''', category = 'ins', creator = 'vnf', date = '08/09/2008', components = components ) return instrument
def createInstrument(director): return cinstr( director, name='any', short_description='Special instrument for privilege checking', long_description='''Special fake instrument for privilege checking''', category='Test', creator='vnf', date='12/29/2008', components=[], status = 'offline', )
def createInstrument(director): mod = moderator() # the default neutron profile is initd at content/components/initdb/snsmoderatormcsimulateddata.odb # this means the snsmoderatormcsimulateddata table should be initd before instruments # table mod.neutronprofile = director.clerk.orm.load( SNSModeratorMCSimulatedData, 'sct521_bu_17_1-ARCS') from _utils import ccomp, cinstr components = [ ccomp('moderator', mod, ((0,0,0), (0,0,0), '')), ccomp('core_ves', core_ves(), ((0,0,1.0106), (0,0,0), '')), ccomp('shutter_guide', shutter_guide(), ((0,0,2.26790), (0,0,0), '')), ccomp('guide_1_1_1', guide_1_1_1(), ((0,0,4.17230), (0,0,0), '')), ccomp('guide_1_1_2', guide_1_1_2(), ((0,0,4.65589), (0,0,0), '')), ccomp('guide_1_1_3', guide_1_1_3(), ((0,0,5.13948), (0,0,0), '')), ccomp('guide_1_2_1', guide_1_2_1(), ((0,0,5.62331), (0,0,0), '')), ccomp('guide_1_2_2', guide_1_2_2(), ((0,0,6.10690), (0,0,0), '')), ccomp('guide_1_2_3', guide_1_2_3(), ((0,0,6.59049), (0,0,0), '')), ccomp('guide_1_3_1', guide_1_3_1(), ((0,0,7.07433), (0,0,0), '')), ccomp('guide_1_3_2', guide_1_3_2(), ((0,0,7.55792), (0,0,0), '')), ccomp('guide_1_3_3', guide_1_3_3(), ((0,0,8.04145), (0,0,0), '')), ccomp('t0_chopp', t0_chopp(), ((0,0,8.77), (0,0,0), '')), ccomp('guide_2_1', guide_2_1(), ((0,0,9.47504), (0,0,0), '')), ccomp('guide_2_2', guide_2_2(), ((0,0,9.87713), (0,0,0), '')), ccomp('guide_2_3', guide_2_3(), ((0,0,10.27922), (0,0,0), '')), ccomp('guide_2_4', guide_2_4(), ((0,0,10.68131), (0,0,0), '')), ccomp('guide_2_5', guide_2_5(), ((0,0,11.08340), (0,0,0), '')), ccomp('fermi_chopp', fermi_chopp(), ((0,0,11.61), (0,0,0), '')), ccomp('tofmonitor1', tofmonitor1(), ((0,0,11.831), (0,0,0), '')), ccomp('guide_3', guide_3(), ((0,0,11.84975), (0,0,0), '')), ccomp('guide_4_1', guide_4_1(), ((0,0,12.08825), (0,0,0), '')), ccomp('guide_4_2', guide_4_2(), ((0,0,12.55105), (0,0,0), '')), # ccomp('guide_5', guide_5(), ((0,0,13.01830), (0,0,0), '')), ccomp('neutron_recorder', neutron_recorder(), ((0,0,13.5), (0,0,0), '')), ccomp('tofmonitor2', tofmonitor2(), ((0,0,18.5), (0,0,0), '')), ] instrument = cinstr( director, name = 'ARCS_beam_withmonitor2', short_description = 'ARCS instrument down to the sample position', long_description = '''ARCS is a wide Angular-Range, direct-geometry, time-of-flight Chopper Spectrometer at the Spallation Neutron Source. It is optimized to provide a high neutron flux at the sample, and a large solid angle of detector coverage. This virtual instrument simulates neutrons being emitted from moderator and going through neutron optics of ARCS until they reach the sample position. Those neutrons are then saved and can be used to study inelastic neutron scattering of samples later. ''', category = 'ins', creator = 'vnf', date = '08/09/2010', components = components ) return instrument
def createInstrument(director): return cinstr( director, name='any', short_description='Special instrument for privilege checking', long_description='''Special fake instrument for privilege checking''', category='Test', creator='vnf', date='12/29/2008', components=[], status='offline', )
def createInstrument(director): components = [ ccomp('source', source(), ( (0,0,0), (0,0,0), '' ) ), ccomp('sample', sample(), ( (0,0,3), (0,0,0), '' ) ), ccomp('monitor', monitor(), ( (0,0,3), (0,0,0), '' ) ), ] return cinstr( director, name='IdealPowderINS', short_description='Ideal INS instrument for powder sample', long_description='''Ideal inelastic neutron scattering instrument for powder sample''', category='ins', creator='vnf', date='12/16/2008', components=components, )
def createInstrument(director): components = [ ccomp('source', source(), ((0, 0, 0), (0, 0, 0), '')), ccomp('sample', sample(), ((0, 0, 3), (0, 0, 0), '')), ccomp('monitor', monitor(), ((0, 0, 3), (0, 0, 0), '')), ] return cinstr( director, name='IdealPowderINS', short_description='Ideal INS instrument for powder sample', long_description= '''Ideal inelastic neutron scattering instrument for powder sample''', category='ins', creator='vnf', date='12/16/2008', components=components, )
def createInstrument(director): components = [ ccomp('source', source(), ( (0,0,0), (0,0,0), '' ) ), ccomp('sample', sample(), ( (0,0,0), (0,0,0), '' ) ), ccomp('detector', detector(), ( (0,0,0), (0,0,0), '' ) ), ] return cinstr( director, name='SANS_NG7', short_description='NIST NG7', long_description='''NG7 30-m Small Angle Neutron Scattering Instrument''', category='sans', creator='vnf', date='08/24/2008', components=components, status = 'offline', )
def createInstrument(director): components = [ ccomp('source', source(), ((0, 0, 0), (0, 0, 0), '')), ccomp('sample', sample(), ((0, 0, 0), (0, 0, 0), '')), ccomp('detector', detector(), ((0, 0, 0), (0, 0, 0), '')), ] return cinstr( director, name='SANS_NG7', short_description='NIST NG7', long_description= '''NG7 30-m Small Angle Neutron Scattering Instrument''', category='sans', creator='vnf', date='08/24/2008', components=components, status='offline', )
def createInstrument(director): components = [ ccomp("arm", arm(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("source", source(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("core_vessel_insert", core_vessel_insert(), ((0.00000, 0.00000, 1.02000), (0.00000, 0.00000, 0.00000), '')), ccomp("start_shutter_insert", start_shutter_insert(), ((0.00000, 0.00000, 2.40100), (0.00000, 0.00000, 0.00000), '')), ccomp("end_shutter_insert", end_shutter_insert(), ((0.00000, 0.00000, 4.26800), (0.00000, 0.00000, 0.00000), '')), ccomp("L_monitor1", L_monitor1(), ((0.00000, 0.00000, 4.30000), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert1", bulk_shield_insert1(), ((0.00000, 0.00000, 4.30330), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert2", bulk_shield_insert2(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("BS_Out", BS_Out(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor2", L_monitor2(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide1", transition_guide1(), ((0.00000, 0.00000, 0.00614), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide2", transition_guide2(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide3", transition_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TRG_Out", TRG_Out(), ((0.00000, 0.00000, 0.40800), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor3", L_monitor3(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("bandwidth_chopper", bandwidth_chopper(), ((0.00000, 0.00000, 0.09000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide1", curved_guide1(), ((0.00000, 0.00000, 0.09353), (0.00000, 0.01015, 0.00000), 'previous')), ccomp("curved_guide2", curved_guide2(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide1')), ccomp("curved_guide3", curved_guide3(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide2')), ccomp("curved_guide4", curved_guide4(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide3')), ccomp("curved_guide5", curved_guide5(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide4')), ccomp("curved_guide6", curved_guide6(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide5')), ccomp("CG1_Out", CG1_Out(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor4", L_monitor4(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide7", curved_guide7(), ((0.00000, 0.00000, 0.09512), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide8", curved_guide8(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide9", curved_guide9(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide10", curved_guide10(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide11", curved_guide11(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide12", curved_guide12(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide13", curved_guide13(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide14", curved_guide14(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide15", curved_guide15(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide16", curved_guide16(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide17", curved_guide17(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide18", curved_guide18(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide19", curved_guide19(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide20", curved_guide20(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide21", curved_guide21(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide22", curved_guide22(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide23", curved_guide23(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide24", curved_guide24(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide25", curved_guide25(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide26", curved_guide26(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide27", curved_guide27(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide28", curved_guide28(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide29", curved_guide29(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide30", curved_guide30(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide31", curved_guide31(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide32", curved_guide32(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide33", curved_guide33(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide34", curved_guide34(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide35", curved_guide35(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide36", curved_guide36(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide37", curved_guide37(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide38", curved_guide38(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide39", curved_guide39(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide40", curved_guide40(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide41", curved_guide41(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide42", curved_guide42(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("CG2_Out", CG2_Out(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor5", L_monitor5(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section1", straight_section1(), ((0.00000, 0.00000, 0.00020), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("straight_section2", straight_section2(), ((0.00000, 0.00000, 1.80004), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section3", straight_section3(), ((0.00000, 0.00000, 1.80013), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("SG_Out", SG_Out(), ((0.00000, 0.00000, 1.80007), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor6", L_monitor6(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Slit", VTG_Slit(), ((0.00000, 0.00000, 0.00030), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide1", vertical_tapered_guide1(), ((0.00000, 0.00000, 0.00040), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide2", vertical_tapered_guide2(), ((0.00000, 0.00000, 0.47993), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide3", vertical_tapered_guide3(), ((0.00000, 0.00000, 0.48010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide4", vertical_tapered_guide4(), ((0.00000, 0.00000, 0.48025), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide5", vertical_tapered_guide5(), ((0.00000, 0.00000, 0.47493), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide6", vertical_tapered_guide6(), ((0.00000, 0.00000, 0.47010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide7", vertical_tapered_guide7(), ((0.00000, 0.00000, 0.46310), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide8", vertical_tapered_guide8(), ((0.00000, 0.00000, 0.45629), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide9", vertical_tapered_guide9(), ((0.00000, 0.00000, 0.44893), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide10", vertical_tapered_guide10(), ((0.00000, 0.00000, 0.44210), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide11", vertical_tapered_guide11(), ((0.00000, 0.00000, 0.43510), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide12", vertical_tapered_guide12(), ((0.00000, 0.00000, 0.42828), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide13", vertical_tapered_guide13(), ((0.00000, 0.00000, 0.42093), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide14", vertical_tapered_guide14(), ((0.00000, 0.00000, 0.41410), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide15", vertical_tapered_guide15(), ((0.00000, 0.00000, 0.40710), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Out", VTG_Out(), ((0.00000, 0.00000, 0.39762), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor7", L_monitor7(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Slit", TG_Slit(), ((0.00000, 0.00000, 0.15906), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide1", tapered_guide1(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'TG_Slit')), ccomp("tapered_guide2", tapered_guide2(), ((0.00000, 0.00000, 0.39855), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide3", tapered_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide4", tapered_guide4(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide5", tapered_guide5(), ((0.00000, 0.00000, 0.40000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide6", tapered_guide6(), ((0.00000, 0.00000, 0.37998), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide7", tapered_guide7(), ((0.00000, 0.00000, 0.36010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide8", tapered_guide8(), ((0.00000, 0.00000, 0.33010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide9", tapered_guide9(), ((0.00000, 0.00000, 0.29010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Out", TG_Out(), ((0.00000, 0.00000, 0.23858), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor8", L_monitor8(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("FU_Out", FU_Out(), ((0.00000, 0.00000, 0.63240), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor9", L_monitor9(), ((0.00000, 0.00000, 0.97100), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor10", L_monitor10(), ((0.00000, 0.00000, 0.97200), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_sample_position", psd_sample_position(), ((0.00000, 0.00000, 0.97300), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_xscan_L", psd_xscan_L(), ((0.00000, 0.00000, 0.97400), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_yscan_L", psd_yscan_L(), ((0.00000, 0.00000, 0.97500), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("sample", sample(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("Detector_Position_c", Detector_Position_c(), ((-2.00000, 0.00000, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), ccomp("detector_90tc", detector_90tc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("detector_90wc", detector_90wc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("Detector_Position_t", Detector_Position_t(), ((-1.95900, 0.40300, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), ccomp("Detector_Position_tt", Detector_Position_tt(), ((0.00000, 0.00000, 0.00000), (11.60000, 0.00000, 0.00000), 'previous')), ccomp("detector_90tt", detector_90tt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("detector_90wt", detector_90wt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("Detector_Position_b", Detector_Position_b(), ((-1.95900, -0.40300, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), ccomp("Detector_Position_bb", Detector_Position_bb(), ((0.00000, 0.00000, 0.00000), (-11.60000, 0.00000, 0.00000), 'previous')), ccomp("detector_90tb", detector_90tb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("detector_90wb", detector_90wb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("monitor_beamstop", monitor_beamstop(), ((0.00000, 0.00000, 5.00000), (0.00000, 0.00000, 0.00000), 'sample')), ] instrument = cinstr(director, name="", short_description="", long_description="", category="", creator="VNF", date="17 Feb 2011 16:27", components=components)
def createInstrument(director): components = [ ccomp("source", source(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("core_vessel_insert", core_vessel_insert(), ((0.00000, 0.00000, 1.02000), (0.00000, 0.00000, 0.00000), '')), ccomp("start_shutter_insert", start_shutter_insert(), ((0.00000, 0.00000, 2.40100), (0.00000, 0.00000, 0.00000), '')), ccomp("end_shutter_insert", end_shutter_insert(), ((0.00000, 0.00000, 4.26800), (0.00000, 0.00000, 0.00000), '')), ccomp("L_monitor1", L_monitor1(), ((0.00000, 0.00000, 4.30000), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert1", bulk_shield_insert1(), ((0.00000, 0.00000, 4.30330), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert2", bulk_shield_insert2(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor2", L_monitor2(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide1", transition_guide1(), ((0.00000, 0.00000, 0.00614), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide2", transition_guide2(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide3", transition_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor3", L_monitor3(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("bandwidth_chopper", bandwidth_chopper(), ((0.00000, 0.00000, 0.09000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide1", curved_guide1(), ((0.00000, 0.00000, 0.09353), (0.00000, 0.01015, 0.00000), 'previous')), ccomp("curved_guide2", curved_guide2(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide1')), ccomp("curved_guide3", curved_guide3(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide2')), ccomp("curved_guide4", curved_guide4(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide3')), ccomp("curved_guide5", curved_guide5(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide4')), ccomp("curved_guide6", curved_guide6(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide5')), ccomp("L_monitor4", L_monitor4(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide7", curved_guide7(), ((0.00000, 0.00000, 0.09512), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide8", curved_guide8(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide9", curved_guide9(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide10", curved_guide10(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide11", curved_guide11(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide12", curved_guide12(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide13", curved_guide13(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide14", curved_guide14(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide15", curved_guide15(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide16", curved_guide16(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide17", curved_guide17(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide18", curved_guide18(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide19", curved_guide19(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide20", curved_guide20(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide21", curved_guide21(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide22", curved_guide22(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide23", curved_guide23(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide24", curved_guide24(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide25", curved_guide25(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide26", curved_guide26(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide27", curved_guide27(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide28", curved_guide28(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide29", curved_guide29(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide30", curved_guide30(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide31", curved_guide31(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide32", curved_guide32(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide33", curved_guide33(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide34", curved_guide34(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide35", curved_guide35(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide36", curved_guide36(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide37", curved_guide37(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide38", curved_guide38(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide39", curved_guide39(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide40", curved_guide40(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide41", curved_guide41(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide42", curved_guide42(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("L_monitor5", L_monitor5(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section1", straight_section1(), ((0.00000, 0.00000, 0.00020), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("straight_section2", straight_section2(), ((0.00000, 0.00000, 1.80004), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section3", straight_section3(), ((0.00000, 0.00000, 1.80013), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor6", L_monitor6(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Slit", VTG_Slit(), ((0.00000, 0.00000, 0.00030), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide1", vertical_tapered_guide1(), ((0.00000, 0.00000, 0.00040), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide2", vertical_tapered_guide2(), ((0.00000, 0.00000, 0.47993), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide3", vertical_tapered_guide3(), ((0.00000, 0.00000, 0.48010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide4", vertical_tapered_guide4(), ((0.00000, 0.00000, 0.48025), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide5", vertical_tapered_guide5(), ((0.00000, 0.00000, 0.47493), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide6", vertical_tapered_guide6(), ((0.00000, 0.00000, 0.47010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide7", vertical_tapered_guide7(), ((0.00000, 0.00000, 0.46310), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide8", vertical_tapered_guide8(), ((0.00000, 0.00000, 0.45629), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide9", vertical_tapered_guide9(), ((0.00000, 0.00000, 0.44893), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide10", vertical_tapered_guide10(), ((0.00000, 0.00000, 0.44210), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide11", vertical_tapered_guide11(), ((0.00000, 0.00000, 0.43510), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide12", vertical_tapered_guide12(), ((0.00000, 0.00000, 0.42828), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide13", vertical_tapered_guide13(), ((0.00000, 0.00000, 0.42093), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide14", vertical_tapered_guide14(), ((0.00000, 0.00000, 0.41410), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide15", vertical_tapered_guide15(), ((0.00000, 0.00000, 0.40710), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor7", L_monitor7(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Slit", TG_Slit(), ((0.00000, 0.00000, 0.15906), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide1", tapered_guide1(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'TG_Slit')), ccomp("tapered_guide2", tapered_guide2(), ((0.00000, 0.00000, 0.39855), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide3", tapered_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide4", tapered_guide4(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide5", tapered_guide5(), ((0.00000, 0.00000, 0.40000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide6", tapered_guide6(), ((0.00000, 0.00000, 0.37998), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide7", tapered_guide7(), ((0.00000, 0.00000, 0.36010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide8", tapered_guide8(), ((0.00000, 0.00000, 0.33010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide9", tapered_guide9(), ((0.00000, 0.00000, 0.29010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor8", L_monitor8(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor9", L_monitor9(), ((0.00000, 0.00000, 0.97100), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor10", L_monitor10(), ((0.00000, 0.00000, 0.97200), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_sample_position", psd_sample_position(), ((0.00000, 0.00000, 0.97300), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_xscan_L", psd_xscan_L(), ((0.00000, 0.00000, 0.97400), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_yscan_L", psd_yscan_L(), ((0.00000, 0.00000, 0.97500), (0.00000, 0.00000, 0.00000), 'previous')), ccomp('neutron_recorder', neutron_recorder(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("sample", sample(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tc", detector_90tc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wc", detector_90wc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tt", detector_90tt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wt", detector_90wt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tb", detector_90tb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wb", detector_90wb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("monitor_beamstop", monitor_beamstop(), ((0.00000, 0.00000, 5.00000), (0.00000, 0.00000, 0.00000), 'sample')), ] instrument = cinstr( director, name = "VULCAN", short_description = "SNS diffractometer", long_description = "VULCAN is a diffractometer at the Spallation Neutron Source intended for measurements of deformation, residual stress related studies, spatial mapping of chemistry, microstructure, and texture.", category = "engineering diffraction", creator = "VNF", date = "10 Dec 2010 12:41", components = components )
def createInstrument(director): components = [ ccomp("arm", arm(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("source", source(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("core_vessel_insert", core_vessel_insert(), ((0.00000, 0.00000, 1.02000), (0.00000, 0.00000, 0.00000), '')), ccomp("start_shutter_insert", start_shutter_insert(), ((0.00000, 0.00000, 2.40100), (0.00000, 0.00000, 0.00000), '')), ccomp("end_shutter_insert", end_shutter_insert(), ((0.00000, 0.00000, 4.26800), (0.00000, 0.00000, 0.00000), '')), ccomp("L_monitor1", L_monitor1(), ((0.00000, 0.00000, 4.30000), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert1", bulk_shield_insert1(), ((0.00000, 0.00000, 4.30330), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert2", bulk_shield_insert2(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("BS_Out", BS_Out(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor2", L_monitor2(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide1", transition_guide1(), ((0.00000, 0.00000, 0.00614), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide2", transition_guide2(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide3", transition_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TRG_Out", TRG_Out(), ((0.00000, 0.00000, 0.40800), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor3", L_monitor3(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("bandwidth_chopper", bandwidth_chopper(), ((0.00000, 0.00000, 0.09000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide1", curved_guide1(), ((0.00000, 0.00000, 0.09353), (0.00000, 0.01015, 0.00000), 'previous')), ccomp("curved_guide2", curved_guide2(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide1')), ccomp("curved_guide3", curved_guide3(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide2')), ccomp("curved_guide4", curved_guide4(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide3')), ccomp("curved_guide5", curved_guide5(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide4')), ccomp("curved_guide6", curved_guide6(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide5')), ccomp("CG1_Out", CG1_Out(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor4", L_monitor4(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide7", curved_guide7(), ((0.00000, 0.00000, 0.09512), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide8", curved_guide8(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide9", curved_guide9(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide10", curved_guide10(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide11", curved_guide11(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide12", curved_guide12(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide13", curved_guide13(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide14", curved_guide14(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide15", curved_guide15(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide16", curved_guide16(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide17", curved_guide17(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide18", curved_guide18(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide19", curved_guide19(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide20", curved_guide20(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide21", curved_guide21(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide22", curved_guide22(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide23", curved_guide23(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide24", curved_guide24(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide25", curved_guide25(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide26", curved_guide26(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide27", curved_guide27(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide28", curved_guide28(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide29", curved_guide29(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide30", curved_guide30(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide31", curved_guide31(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide32", curved_guide32(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide33", curved_guide33(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide34", curved_guide34(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide35", curved_guide35(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide36", curved_guide36(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide37", curved_guide37(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide38", curved_guide38(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide39", curved_guide39(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide40", curved_guide40(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide41", curved_guide41(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide42", curved_guide42(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("CG2_Out", CG2_Out(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor5", L_monitor5(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section1", straight_section1(), ((0.00000, 0.00000, 0.00020), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("straight_section2", straight_section2(), ((0.00000, 0.00000, 1.80004), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section3", straight_section3(), ((0.00000, 0.00000, 1.80013), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("SG_Out", SG_Out(), ((0.00000, 0.00000, 1.80007), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor6", L_monitor6(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Slit", VTG_Slit(), ((0.00000, 0.00000, 0.00030), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide1", vertical_tapered_guide1(), ((0.00000, 0.00000, 0.00040), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide2", vertical_tapered_guide2(), ((0.00000, 0.00000, 0.47993), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide3", vertical_tapered_guide3(), ((0.00000, 0.00000, 0.48010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide4", vertical_tapered_guide4(), ((0.00000, 0.00000, 0.48025), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide5", vertical_tapered_guide5(), ((0.00000, 0.00000, 0.47493), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide6", vertical_tapered_guide6(), ((0.00000, 0.00000, 0.47010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide7", vertical_tapered_guide7(), ((0.00000, 0.00000, 0.46310), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide8", vertical_tapered_guide8(), ((0.00000, 0.00000, 0.45629), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide9", vertical_tapered_guide9(), ((0.00000, 0.00000, 0.44893), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide10", vertical_tapered_guide10(), ((0.00000, 0.00000, 0.44210), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide11", vertical_tapered_guide11(), ((0.00000, 0.00000, 0.43510), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide12", vertical_tapered_guide12(), ((0.00000, 0.00000, 0.42828), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide13", vertical_tapered_guide13(), ((0.00000, 0.00000, 0.42093), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide14", vertical_tapered_guide14(), ((0.00000, 0.00000, 0.41410), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide15", vertical_tapered_guide15(), ((0.00000, 0.00000, 0.40710), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Out", VTG_Out(), ((0.00000, 0.00000, 0.39762), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor7", L_monitor7(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Slit", TG_Slit(), ((0.00000, 0.00000, 0.15906), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide1", tapered_guide1(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'TG_Slit')), ccomp("tapered_guide2", tapered_guide2(), ((0.00000, 0.00000, 0.39855), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide3", tapered_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide4", tapered_guide4(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide5", tapered_guide5(), ((0.00000, 0.00000, 0.40000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide6", tapered_guide6(), ((0.00000, 0.00000, 0.37998), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide7", tapered_guide7(), ((0.00000, 0.00000, 0.36010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide8", tapered_guide8(), ((0.00000, 0.00000, 0.33010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide9", tapered_guide9(), ((0.00000, 0.00000, 0.29010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Out", TG_Out(), ((0.00000, 0.00000, 0.23858), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor8", L_monitor8(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("FU_Out", FU_Out(), ((0.00000, 0.00000, 0.63240), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor9", L_monitor9(), ((0.00000, 0.00000, 0.97100), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor10", L_monitor10(), ((0.00000, 0.00000, 0.97200), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_sample_position", psd_sample_position(), ((0.00000, 0.00000, 0.97300), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("psd_xscan_L", psd_xscan_L(), ((0.00000, 0.00000, 0.97400), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("psd_yscan_L", psd_yscan_L(), ((0.00000, 0.00000, 0.97500), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("sample", sample(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("Detector_Position_c", Detector_Position_c(), ((-2.00000, 0.00000, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), # ccomp("detector_90tc", detector_90tc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wc", detector_90wc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("Detector_Position_t", Detector_Position_t(), ((-1.95900, 0.40300, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), # ccomp("Detector_Position_tt", Detector_Position_tt(), ((0.00000, 0.00000, 0.00000), (11.60000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tt", detector_90tt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wt", detector_90wt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("Detector_Position_b", Detector_Position_b(), ((-1.95900, -0.40300, 0.00000), (0.00000, 90.00000, 0.00000), 'sample')), # ccomp("Detector_Position_bb", Detector_Position_bb(), ((0.00000, 0.00000, 0.00000), (-11.60000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tb", detector_90tb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wb", detector_90wb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("monitor_beamstop", monitor_beamstop(), ((0.00000, 0.00000, 5.00000), (0.00000, 0.00000, 0.00000), 'sample')), ] instrument = cinstr( director, name = "", short_description = "", long_description = "", category = "", creator = "VNF", date = "06 Mar 2011 21:42", components = components )
def createInstrument(director): components = [ ccomp("source", source(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), '')), ccomp("core_vessel_insert", core_vessel_insert(), ((0.00000, 0.00000, 1.02000), (0.00000, 0.00000, 0.00000), '')), ccomp("start_shutter_insert", start_shutter_insert(), ((0.00000, 0.00000, 2.40100), (0.00000, 0.00000, 0.00000), '')), ccomp("end_shutter_insert", end_shutter_insert(), ((0.00000, 0.00000, 4.26800), (0.00000, 0.00000, 0.00000), '')), ccomp("L_monitor1", L_monitor1(), ((0.00000, 0.00000, 4.30000), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert1", bulk_shield_insert1(), ((0.00000, 0.00000, 4.30330), (0.00000, 0.00000, 0.00000), '')), ccomp("bulk_shield_insert2", bulk_shield_insert2(), ((0.00000, 0.00000, 0.49750), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor2", L_monitor2(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide1", transition_guide1(), ((0.00000, 0.00000, 0.00614), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide2", transition_guide2(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("transition_guide3", transition_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor3", L_monitor3(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("bandwidth_chopper", bandwidth_chopper(), ((0.00000, 0.00000, 0.09000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide1", curved_guide1(), ((0.00000, 0.00000, 0.09353), (0.00000, 0.01015, 0.00000), 'previous')), ccomp("curved_guide2", curved_guide2(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide1')), ccomp("curved_guide3", curved_guide3(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide2')), ccomp("curved_guide4", curved_guide4(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide3')), ccomp("curved_guide5", curved_guide5(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide4')), ccomp("curved_guide6", curved_guide6(), ((0.00000, 0.00000, 0.49540), (0.00000, 0.01015, 0.00000), 'curved_guide5')), ccomp("L_monitor4", L_monitor4(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("curved_guide7", curved_guide7(), ((0.00000, 0.00000, 0.09512), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide8", curved_guide8(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide9", curved_guide9(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide10", curved_guide10(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide11", curved_guide11(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide12", curved_guide12(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide13", curved_guide13(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide14", curved_guide14(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide15", curved_guide15(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide16", curved_guide16(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide17", curved_guide17(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide18", curved_guide18(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide19", curved_guide19(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide20", curved_guide20(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide21", curved_guide21(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide22", curved_guide22(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide23", curved_guide23(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide24", curved_guide24(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide25", curved_guide25(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide26", curved_guide26(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide27", curved_guide27(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide28", curved_guide28(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide29", curved_guide29(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide30", curved_guide30(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide31", curved_guide31(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide32", curved_guide32(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide33", curved_guide33(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide34", curved_guide34(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide35", curved_guide35(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide36", curved_guide36(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide37", curved_guide37(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide38", curved_guide38(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide39", curved_guide39(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide40", curved_guide40(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide41", curved_guide41(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("curved_guide42", curved_guide42(), ((0.00000, 0.00000, 0.47220), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("L_monitor5", L_monitor5(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section1", straight_section1(), ((0.00000, 0.00000, 0.00020), (0.00000, 0.00970, 0.00000), 'previous')), ccomp("straight_section2", straight_section2(), ((0.00000, 0.00000, 1.80004), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("straight_section3", straight_section3(), ((0.00000, 0.00000, 1.80013), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor6", L_monitor6(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("VTG_Slit", VTG_Slit(), ((0.00000, 0.00000, 0.00030), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide1", vertical_tapered_guide1(), ((0.00000, 0.00000, 0.00040), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide2", vertical_tapered_guide2(), ((0.00000, 0.00000, 0.47993), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide3", vertical_tapered_guide3(), ((0.00000, 0.00000, 0.48010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide4", vertical_tapered_guide4(), ((0.00000, 0.00000, 0.48025), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide5", vertical_tapered_guide5(), ((0.00000, 0.00000, 0.47493), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide6", vertical_tapered_guide6(), ((0.00000, 0.00000, 0.47010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide7", vertical_tapered_guide7(), ((0.00000, 0.00000, 0.46310), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide8", vertical_tapered_guide8(), ((0.00000, 0.00000, 0.45629), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide9", vertical_tapered_guide9(), ((0.00000, 0.00000, 0.44893), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide10", vertical_tapered_guide10(), ((0.00000, 0.00000, 0.44210), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide11", vertical_tapered_guide11(), ((0.00000, 0.00000, 0.43510), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide12", vertical_tapered_guide12(), ((0.00000, 0.00000, 0.42828), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide13", vertical_tapered_guide13(), ((0.00000, 0.00000, 0.42093), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide14", vertical_tapered_guide14(), ((0.00000, 0.00000, 0.41410), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("vertical_tapered_guide15", vertical_tapered_guide15(), ((0.00000, 0.00000, 0.40710), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor7", L_monitor7(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("TG_Slit", TG_Slit(), ((0.00000, 0.00000, 0.15906), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide1", tapered_guide1(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'TG_Slit')), ccomp("tapered_guide2", tapered_guide2(), ((0.00000, 0.00000, 0.39855), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide3", tapered_guide3(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide4", tapered_guide4(), ((0.00000, 0.00000, 0.40010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide5", tapered_guide5(), ((0.00000, 0.00000, 0.40000), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide6", tapered_guide6(), ((0.00000, 0.00000, 0.37998), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide7", tapered_guide7(), ((0.00000, 0.00000, 0.36010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide8", tapered_guide8(), ((0.00000, 0.00000, 0.33010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("tapered_guide9", tapered_guide9(), ((0.00000, 0.00000, 0.29010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor8", L_monitor8(), ((0.00000, 0.00000, 0.00010), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor9", L_monitor9(), ((0.00000, 0.00000, 0.97100), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("L_monitor10", L_monitor10(), ((0.00000, 0.00000, 0.97200), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_sample_position", psd_sample_position(), ((0.00000, 0.00000, 0.97300), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_xscan_L", psd_xscan_L(), ((0.00000, 0.00000, 0.97400), (0.00000, 0.00000, 0.00000), 'previous')), ccomp("psd_yscan_L", psd_yscan_L(), ((0.00000, 0.00000, 0.97500), (0.00000, 0.00000, 0.00000), 'previous')), ccomp('neutron_recorder', neutron_recorder(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("sample", sample(), ((0.00000, 0.00000, 1.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tc", detector_90tc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wc", detector_90wc(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tt", detector_90tt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wt", detector_90wt(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90tb", detector_90tb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("detector_90wb", detector_90wb(), ((0.00000, 0.00000, 0.00000), (0.00000, 0.00000, 0.00000), 'previous')), # ccomp("monitor_beamstop", monitor_beamstop(), ((0.00000, 0.00000, 5.00000), (0.00000, 0.00000, 0.00000), 'sample')), ] instrument = cinstr( director, name="VULCAN", short_description="SNS diffractometer", long_description= "VULCAN is a diffractometer at the Spallation Neutron Source intended for measurements of deformation, residual stress related studies, spatial mapping of chemistry, microstructure, and texture.", category="engineering diffraction", creator="VNF", date="10 Dec 2010 12:41", components=components)