aaanalysis.StructurePreprocessor.build_cat
- StructurePreprocessor.build_cat(features=None, dim_names_override=None)[source]
Build the
df_catmetadata frame forfeatures.Pure registry lookup — corpus-free.
df_cat[category]is always'Structure'for every StructurePreprocessor feature; the per-key semantics live indf_cat[subcategory](see registry).- Parameters:
- Returns:
df_cat – One row per dimension:
scale_id,category,subcategory,scale_name,scale_description.categoryis the top-level color/redundancy-bucket bucket;subcategorycarries the fine-grained semantic split ('DSSP_SS_3state','Flexibility_bfactor', etc.).- Return type:
pd.DataFrame, shape (D_total, 5)