piel.visual.table.electronic.metrics#
Attributes#
Functions#
|
|
Composes performance parameters of amplifiers into a LaTeX table, |
Module Contents#
- default_metric_header_map#
- format_amplifier_metric(metric: str, metric_obj: piel.types.ScalarMetric | None) str[source]#
- compose_amplifier_collection_performance_latex_table(amplifier_collection: piel.types.RFAmplifierCollection, desired_metrics: List[str] | str = '*', caption: str = 'Compiled electronic performance available from the best CMOS LNA and PA literature for successful low-noise and power amplification.', label: str = 'table:amplifier_designs_review', metrics_header_map: Dict[str, str] = default_metric_header_map) str[source]#
Composes performance parameters of amplifiers into a LaTeX table, handling multiple metrics instances per component.
- Parameters:
amplifier_collection (RFAmplifierCollection) – The collection of RF amplifiers.
desired_metrics (List[str] or "*") – List of metric names to include in the table or “*” to include all metrics.
caption (str) – The caption for the LaTeX table.
label (str) – The label for referencing the table in LaTeX.
metrics_header_map (Dict[str, str]) – Mapping from metric names to LaTeX-formatted headers.
- Returns:
A string containing the LaTeX code for the table.
- Return type:
str