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
model_singlepsr_noise uses a boolean option, dm_vars, to control all frequency dependent noise. This can be confusing if one wants to implement higher order scattering process but not a DM GP. To accomplish this one needs to pass a dummy flag to dm_kernel which defaults to 'gp'.
This would make a model with no DM or chromatic variations:
pta=model_singlepsr_noise(
psr,
chrom_gp=True, # dm_var defaults to False, so this doesn't do anythingchrom_gp_kernel='nondiag'
)
This would make a model with a powerlaw DM GP and a chromatic GP:
This would make the desired model, a chromatic GP with no DM GP :
pta=model_singlepsr_noise(
psr,
dm_var=True,
dm_type=None, # this defaults to 'gp'chrom_gp=True,
chrom_gp_kernel='nondiag'
)
Since there are other non-f^-2 chromatic effects that are accessed via dm_var=True, e.g. cusps with arbitrary index, it probably doesn't make sense to separate the chrom_gp from that option.
My preferred fix is a radical option: have dm_type default to None and remove the dm_var option entirely. This would make the no chromatic effects (including DM) the default. The user would turn them on one by one as needed.
Since this breaks default behavior it might worth considering other comprehensive changes that simplify the if-trees in all models and blocks.
The text was updated successfully, but these errors were encountered:
model_singlepsr_noise
uses a boolean option,dm_vars
, to control all frequency dependent noise. This can be confusing if one wants to implement higher order scattering process but not a DM GP. To accomplish this one needs to pass a dummy flag todm_kernel
which defaults to'gp'
.This would make a model with no DM or chromatic variations:
This would make a model with a powerlaw DM GP and a chromatic GP:
This would make the desired model, a chromatic GP with no DM GP :
Since there are other non-f^-2 chromatic effects that are accessed via
dm_var=True
, e.g. cusps with arbitrary index, it probably doesn't make sense to separate thechrom_gp
from that option.My preferred fix is a radical option: have
dm_type
default toNone
and remove thedm_var
option entirely. This would make the no chromatic effects (including DM) the default. The user would turn them on one by one as needed.Since this breaks default behavior it might worth considering other comprehensive changes that simplify the if-trees in all models and blocks.
The text was updated successfully, but these errors were encountered: