-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
docsdocumentationdocumentation
Description
Is it still possible/reasonable to create an empty UVData object, then populate the attributes?
Previously (up until 3.1.3), I was able to create a blank UVData() object, and update parameters line by line, e.g.
uv = pyuvdata.UVData()
uv.Nbls = md['n_baselines']
uv.Nblts = md['n_baselines'] * md['n_integrations']As of 3.2.0, this doesn't work:
uv = pyuvdata.UVData()
uv.Nants_telescope = 256---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[6], line 1
----> 1 uv.Nants_telescope = 256
AttributeError: property 'Nants_telescope' of 'UVData' object has no setter
It looks like this is due to using a Telescope() class at uv.telescope, but I'm not sure how this should be set up (the pyuvdata.Telescope.from_params() mentioned in the docs does not seem to exist). Is it still reasonable to create this as an empty Telescope() object and update the attributes?
Metadata
Metadata
Assignees
Labels
docsdocumentationdocumentation