DEV: added option to use periodic x-coordinates

Use `is` for comparisons to `None`