samples function

Get Samples of a XenaHub object according to 'by' and 'how' action arguments