dstansby / pfsspy

Potential Field Source Surface model package for Python
https://pfsspy.readthedocs.io/
Other
40 stars 17 forks source link

Use a setter for `Input.map` #326

Closed wtbarnes closed 2 years ago

wtbarnes commented 2 years ago

Fixes #325

Input.map is now set using a setter to ensure that it and any attributes of the derive map, are copies of the input.

Also fixes the logo in the README

dstansby commented 2 years ago

I decided to remove the setter, since Input objects should probably be immutable once created.