Code for Selective Test-Time Adaptation using Neural Implicit Representations for Unsupervised Anomaly Detection