1: \begin{abstract}
2: The generalized density is a product of
3: a density function and a weight function.
4: For example,
5: the average local brightness of an astronomical image
6: is the probability of finding a galaxy times the mean brightness of the galaxy.
7: We propose a method for studying the geometric structure of
8: generalized densities.
9: In particular,
10: we show how to find the modes and ridges of a generalized density function
11: using a modification of the mean shift algorithm and its variant, subspace constrained
12: mean shift.
13: Our method can be used to perform clustering
14: and to calculate a measure of connectivity between clusters.
15: We establish consistency and rates of convergence for our estimator
16: and apply the methods to data from two astronomical problems.
17: \end{abstract}