pynbody.analysis.profile.weight_fn# pynbody.analysis.profile.weight_fn(pro, weight_by=None)[source]# Calculate mass in each bin