by default sig_combine() outputs data in the combined_signature_model format (where contributions from each originating signature are kept separate at the cost of duplicated rows for each channel). This format is great for plotting with sig_visualise in model mode, but collapsing the model down to a single signature representing the combination of many others is much more useful for operations like simulating catalogues from the model.
For this reason, we implemented sig_combine_collapse_to_single_signature() that you can pipe the results into, but i think exposing an argument of sig_combine (e.g. format = c("combined_signature_model", "signature")) that automatically calls sig_combine_collapse_to_single_signature() would be more intuitive.
by default
sig_combine()
outputs data in thecombined_signature_model
format (where contributions from each originating signature are kept separate at the cost of duplicated rows for each channel). This format is great for plotting with sig_visualise in model mode, but collapsing the model down to a single signature representing the combination of many others is much more useful for operations like simulating catalogues from the model.For this reason, we implemented
sig_combine_collapse_to_single_signature()
that you can pipe the results into, but i think exposing an argument ofsig_combine
(e.g.format = c("combined_signature_model", "signature")
) that automatically callssig_combine_collapse_to_single_signature()
would be more intuitive.