simonsobs / simonsobs/sotodlib
Conversion to np.float64 failing in sim_focalplane.py
@tskisner is already working on this.
Since May 5, 2025.
- Dominant language
- Python
- Stars
- 19
- Forks
- 23
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 14
Description
Values in for positions, pol angles, quaternions, etc. produced in simulating the focalplane do not seem to be converting to floats correctly. Instead they take the form in the toml files as "np.float64(-0.004668524928094997)". When the focal plane visualization tools in sotodlib and s4sim try to convert these into floats from the toml files, they cannot convert the value into a float.
An example of the error when running so_hardware_plot on NERSC:
An excerpt from the toml file:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.