Core radius and density measurements in N-body experiments Connections with theoretical and observational definitions