A code which disentangles Parkes pulsar survey data