Closed m-aguena closed 3 months ago
I realised I was not keeping the original metadata in the blinded sacc!
This is now fixed :)
I also added a concealed = True
metadata !
seed = "test"
Locally: Shifts: {'Omega_c': 0.25876948503900465, 'sigma8': 0.7726193034315977}
Sunrise: Shifts: {'Omega_c': 0.25876948503900465, 'sigma8': 0.7726193034315977}
Locally: Shifts: {'Omega_c': 0.21229098052498757, 'sigma8': 0.7142436174585977}
Sunrise: {'Omega_c': 0.21229098052498757, 'sigma8': 0.7142436174585977}
I also tested that if you give different number of parameters, the values are the same for the same parameters:
Shifts: {'Omega_c': 0.21229098052498757, 'sigma8': 0.7142436174585977}
Shifts: {'Omega_c': 0.21229098052498757}
Now, of course... if you invert or change the order of the required shift parameters, the shifts will be different:
Shifts: {'sigma8': 0.7001923251481939, 'Omega_c': 0.22084394106175506}
Shifts: {'Omega_c': 0.21229098052498757, 'sigma8': 0.7142436174585977}
Maybe this can be avoided by looping over CCL dictionaries of cosmological parameters instead of looping over the shifts dictionary...
Now, of course... if you invert or change the order of the required shift parameters, the shifts will be different:
- Locally:
Shifts: {'sigma8': 0.7001923251481939, 'Omega_c': 0.22084394106175506}
- Sunrise (inverted order):
Shifts: {'Omega_c': 0.21229098052498757, 'sigma8': 0.7142436174585977}
Maybe this can be avoided by looping over CCL dictionaries of cosmological parameters instead of looping over the shifts dictionary...
yeah, that worked! Fixed by 53ba5afa96bec84445cac31ec5b699e8ed43348a
If we ensure that a given seed always results in the same set of cosmological parameters, it can be used to blind different probes individually. This will remove the necessity of generating the data vectors of all your probes at the same time.
IMPORTANT reminder: save the seed on the blinded data vector file!