Mcp Viz Polymer Mwd

mcp_viz_polymer_mwd
preview Polymers cloud matplotlib
Visualize polymer molecular weight distribution (MWD) plots. Generates distribution curves showing number-average (Mn), weight-average (Mw), and polydispersity index (PDI). Can plot from simulated distributions (Schulz-Zimm, log-normal, Flory) or from raw MW data arrays.

Preview. This tool is available but has not yet completed Paramus output verification. Treat results as provisional.

Parameters

NameTypeRequiredDescription
distribution_type string no Type of molecular weight distribution to plot. Default: 'log-normal'. Options: 'schulz-zimm', 'log-normal', 'flory', 'custom'
Mn number no Number-average molecular weight (g/mol). Required for theoretical distributions.
PDI number no Polydispersity index (Mw/Mn). Default: 2.0. Approaches 2.0 for Flory distributions.
mw_data array no Raw molecular weight data array for custom distribution (requires 'custom' type)
weight_data array no Weight fraction data corresponding to mw_data
x_scale string no X-axis scale (log is typical for GPC/SEC). Default: 'log'
show_moments boolean no Show Mn, Mw, Mz vertical lines and annotation. Default: true
normalize boolean no Normalize distribution to unit area. Default: true
title string no Title for the plot
polymer_name string no Name of the polymer for labeling
output_format string no Output image format. Default: 'png'. Options: 'png', 'svg'
size array no Figure size in inches [width, height]. Default: [8, 5]
output_path string no Workspace-relative file path for the figure. A bare file name is placed in the chat's files folder.
auto_open boolean no Open the saved file in system default application. Only applies when output_path is provided.
overwrite boolean no Overwrite existing file. If false and file exists, returns an error. Default: true
PDIautodatadistributionformatmcpmolecularmomentsmwdnamenormalizeopenoutputoverwritepathpolymerscaleshowsizetitle