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