create function to extract a specific PCF from the output of eigenfunction estimator