You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the FKPCatalogue object for power spectrum of a survey box. On doing fkp = FKPCatalog(data, randoms), I am getting an error ValueError: Column 'NZ' is not defined in 'data'. The catalogue is an hdf5 catalogue and I am using the method outlined here.
Surprisingly, I am receiving the same error when following the above tutorial verbatim. As per the API documentation, N(z) is an optional parameter (as described here, so why is this happening?
I am using the version 0.3.15 of the code, installed in a conda environment (following these instructions).
Any help/suggestion is appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
I found that issues too, but it's easy to handle, simply add the 'NZ' dataset into 'data' and 'random' before using fkp.
# add the n(z) columns firstdata['randoms/NZ'] =nofz(randoms['z'])
randoms['data/NZ'] =nofz(data['z'])
# and then # initialize the FKP sourcefkp=FKPCatalog(data, randoms)
Hi,
I am using the
FKPCatalogue
object for power spectrum of a survey box. On doingfkp = FKPCatalog(data, randoms)
, I am getting an errorValueError: Column 'NZ' is not defined in 'data'
. The catalogue is an hdf5 catalogue and I am using the method outlined here.Surprisingly, I am receiving the same error when following the above tutorial verbatim. As per the API documentation, N(z) is an optional parameter (as described here, so why is this happening?
I am using the version 0.3.15 of the code, installed in a conda environment (following these instructions).
Any help/suggestion is appreciated. Thank you.
The text was updated successfully, but these errors were encountered: