Esempio n. 1
0
        ],

        # What snapshots to compile the particle tracks for.
        'snum_start': 1,
        'snum_end': 600,
        'snum_step': 1,
    },

    # Arguments used for the visualization step
    'visualization_kwargs': {
        # These kwargs are used for tuning the Firefly visualization
        'export_to_firefly_kwargs': {
            'firefly_dir': '$SCRATCH/firefly_repos/firefly_trails',
        },
    },

    # The following arguments are for turning on/off different parts
    # of the pipeline
    'run_id_selecting': False,
    # Most users will identify the list of IDs using their own methods, so
    # we turn ID selecting off.
    'run_id_sampling': False,
    'run_tracking': False,
    'run_galaxy_linking': False,
    'run_classifying': False,
    'run_visualization': True,
}

# Actually run Linefinder
linefinder.run_linefinder_jug(**linefinder_args)
Esempio n. 2
0
    'snum_end': 600,
    'snum_step': 1,
}

# Galaxy-Linking Parameters
gal_linker_kwargs = {
    'ids_to_return': ['gal_id', 'd_gal'],
    'halo_data_dir':
    '/scratch/projects/xsede/GalaxiesOnFIRE/core/m12i_res7100/halo/rockstar_dm/catalog',
    'halo_finder': 'Rockstar',
    'minimum_criteria': 'M200b',
    'minimum_value': 1e4,
    'length_scale': 'Rs',
    'galaxy_cut': 5,
}

# This is the actual function that runs linefinder.
# In general you don't need to touch this function but if you want to,
# for example, turn off one of the steps because you're rerunning and you
# already did that step, you can do so below.
linefinder.run_linefinder_jug(
    sim_name=sim_name,
    tag=tag,
    tracker_kwargs=tracker_kwargs,
    run_id_selecting=False,
    # run_id_sampling = False,
    # run_tracking = False,
    # run_galaxy_linking = False,
    run_classifying=False,
)
Esempio n. 3
0
            'logZ',
            'logDen',
            'vr_div_v_cool',
            'logvr_div_v_cool_offset',
        ],
        'tracked_filter_flags': [ True, ] * 5,
        'tracked_colormap_flags': [ True, ] * 5,
        'snum': 465,
    },
}

# This is the actual function that runs linefinder.
# In general you don't need to touch this function but if you want to,
# for example, turn off one of the steps because you're rerunning and you
# already did that step, you can do so below.
linefinder.run_linefinder_jug(
    sim_name = sim_name,
    tag = tag,
    galdef = '_galdefv3',
    # The galdef is a set of parameters used for the galaxy linking and
    # classification steps. Don't touch this unless you know what you're doing.
    tracker_kwargs = tracker_kwargs,
    sampler_kwargs = sampler_kwargs,
    visualization_kwargs = visualization_kwargs,
    run_id_selecting = False,
    run_id_sampling = False,
    run_tracking = False,
    run_galaxy_linking = False,
    run_classifying = False,
)
        'classification_ui_labels': [ 'All', 'IGMAcc', 'Wind', 'SatWind', 'Sat' ],
        'tracked_properties': [
            'logT',
            'logZ',
            'logDen',
            'vr_div_v_cool',
            'logvr_div_v_cool_offset',
        ],
        'tracked_filter_flags': [ True, ] * 5,
        'tracked_colormap_flags': [ True, ] * 5,
    },
}

linefinder.run_linefinder_jug(
    sim_name = sim_name,
    tag = tag,
    selector_data_filters = selector_data_filters,
    selector_kwargs = selector_kwargs,
    sampler_kwargs = sampler_kwargs,
    tracker_kwargs = tracker_kwargs,
    gal_linker_kwargs = gal_linker_kwargs,
    classifier_kwargs = classifier_kwargs,
    visualization_kwargs = visualization_kwargs,
    run_id_selecting = False,
    run_id_sampling = False,
    run_tracking = False,
    run_galaxy_linking = False,
    run_classifying = True,
    run_visualization = False,
)
Esempio n. 5
0
    'n_samples': 2,
}

# Tracking Parameters
tracker_kwargs = {
    'sdir': sdir,
}

# Galaxy Finding Parameters
gal_linker_kwargs = {
    'halo_data_dir': halo_data_dir,
    'main_mt_halo_id': 0,
    'length_scale': 'Rvir',
    'mt_length_scale': 'Rvir',
}

# Classifying Parameters
classifier_kwargs = {
    'velocity_scale': 'Vc(Rvir)',
}

linefinder.run_linefinder_jug(
    out_dir=out_dir,
    tag=tag,
    selector_kwargs=selector_kwargs,
    sampler_kwargs=sampler_kwargs,
    tracker_kwargs=tracker_kwargs,
    gal_linker_kwargs=gal_linker_kwargs,
    classifier_kwargs=classifier_kwargs,
)