SPR analysis code Public