micmac.likelihood.initobjects module¶
-
create_HarmonicMicmacSampler_from_MicmacSampler_obj(MICMAC_sampler_obj, depth_p_array=
None)[source]¶ Create a HarmonicMicmacSampler object from a MicmacSampler object
- Parameters:
- MICMAC_sampler_obj : MicmacSampler¶
MicmacSampler object
- depth_p_array : array[float] of dimensions [n_pix]¶
depth_p_array for the noise power spectrum
- Returns:
HarmonicMicmacSampler_obj – HarmonicMicmacSampler object
- Return type:
- create_HarmonicMicmacSampler_from_dictionnary(dictionary_parameters, path_file_spv)[source]¶
Create a HarmonicMicmacSampler object from the path of a toml file and the yaml file for spatial variability
- Parameters:
- Returns:
HarmonicMicmacSampler_obj – HarmonicMicmacSampler object
- Return type:
-
create_HarmonicMicmacSampler_from_toml_file(path_toml_file, path_file_spv=
'')[source]¶ Create a MicmacSampler object from: * the path of a toml file: params for the sims and for the sampling * the path of a spv file: params for addressing spatial variability
- Parameters:
- Returns:
MICMAC_Sampler_obj – the MicmacSampler object created from the toml file with the spatial variability from the yaml file
- Return type:
-
create_MicmacSampler_from_HarmonicMicmacSampler_obj(HarmonicMicmac_sampler_obj, depth_p_array=
None)[source]¶ Create a MicmacSampler object from a HarmonicMicmacSampler object
- Parameters:
- HarmonicMicmac_sampler_obj : HarmonicMicmacSampler¶
HarmonicMicmacSampler object
- depth_p_array : array[float] of dimensions [n_pix]¶
depth_p_array for the noise power spectrum
- Returns:
MICMAC_sampler_obj – MicmacSampler object
- Return type:
-
create_MicmacSampler_from_dictionnary(dictionary_parameters, path_file_spv=
'')[source]¶ Create a MicmacSampler object from: * the path of a toml file: params for the sims and for the sampling * the path of a spv file: params for addressing spatial variability
- Parameters:
- Returns:
MICMAC_Sampler_obj – the MicmacSampler object created from the toml file with the spatial variability from the yaml file
- Return type:
-
create_MicmacSampler_from_toml_file(path_toml_file, path_file_spv=
'')[source]¶ Create a MicmacSampler object from: * the path of a toml file: params for the sims and for the sampling * the path of a spv file: params for addressing spatial variability
- Parameters:
- Returns:
MICMAC_Sampler_obj – the MicmacSampler object created from the toml file with the spatial variability from the yaml file
- Return type: