python for define pat electron sequence and embed electron cut based id
some updates, still temp