Skip to content

Using star-gas smoothing in stellar mass maps #2

@james-trayford

Description

@james-trayford

stars_data[:,7] = data.stars.smoothing_lengths[mask_stars].value * siminfo.a * 1e3 #kpc

This is not so physically relevant for the stellar mass distributions, could instead use a fixed smoothing, e.g:

baryon_maxsoft = float(data.metadata.parameters["Gravity:max_physical_baryon_softening"])*1000. #kpc                                                                                                                                      
stars_data[:,7] = 2*baryon_maxsoft*np.ones(stars_mass.size)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions