Skip to content

Make sure to keep wcs attribute of enmap #63

Description

@xgarrido

We should preserve wcs when manipulating so_map object. This line

noise.data = np.random.randn(size[0], size[1]) * rms_uKarcmin_T / np.sqrt(pixArea)
removes wcs information : we must use noise.data[:] to only modify the numpy array and keep wcs unchanged

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions