sage.data.waveform.constraints

Filename : constraints.py Description : Short description of the file

Created on 2026-02-16 14:28:00

__author__ = Narenraju Nagarajan __copyright__ = Copyright 2026, ProjectName __license__ = MIT Licence __version__ = 0.0.1 __maintainer__ = Narenraju Nagarajan __affiliation__ = N/A __email__ = N/A __status__ = [‘inProgress’, ‘Archived’, ‘inUsage’, ‘Debugging’]

GitHub Repository: NULL

Documentation: NULL

Functions

mass_order(params, param_index[, extra_params])

Enforce mass1 >= mass2 in a torch.compile-safe way.

Module Contents

mass_order(params, param_index, extra_params=None)[source]

Enforce mass1 >= mass2 in a torch.compile-safe way.

Reorders masses per sample using pure tensor ops.