FFT, spectra, filters, and baselines
Look up Numeric operations for FFT, spectral estimation, filtering, and baseline correction, with example calls and recorded results.
Numerical computing, models, statistics, and Datasets with Python
Time, frequency, and signals
Derive the sampling frequency from the actual sample interval and retain its unit. An FFT of ordered signal samples uses the provider’s convention. Use both components for reconstruction. PSD and ASD estimates have units U²/Hz and U/√Hz, respectively. An introduced delay, a known frequency, and a declared baseline let you verify the result independently of the plot.
Operation reference
Jump to an operation
smoothbaselinesignal_snrsignal_spectrum_qualityfft_spectrum_qualityharmonic_peak_qualityharmonic_componentssignal_periodogramsignal_welchsignal_asdsignal_cross_psdsignal_coherencesignal_frf_h1signal_frf_h2window_metricssignal_correlationsignal_summaryunwrapdigitalFilterfindPeaksbaselineAnchoredfftifftanalyticSignalfrequencyGridoneSideddetrendwindowcomplex_unary.phase_radcomplex_unary.phase_degdigital_filterfind_peaksanalytic_signalfrequency_gridone_sidedconfigure_fft_threads
smooth
- Access
- Registered in the Python Job
- Arguments
- X, Y, optional smoothing options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Smoothed values, residuals, settings and exact retained/omitted positions; no parameter inference
- Effect
- Smooth a sampled series with explicit controls
- Types
- vector
- Declared shape
- same_length_xy
- Options
- method=moving_mean,moving_median,savitzky_golay,savgol,local_polynomial,lowess,loess;window=odd;degree=integer;robust_iterations=0..10
- Nonfinite values
- error,omit
- Units rule
- preserve_y
gxtxt_api_call("NUMERIC_API_v1", "smooth", args)Recorded result · smooth
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"shape": [
6
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
{
"window": 3
}
]Result, preview
{
"x": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
"y": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
2.0,
3.0,
5.0,
7.0,
9.0,
10.0
]
},
"residuals": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
-1.0,
0.0,
0.0,
0.0,
0.0,
1.0
]
},
"method": "moving_mean",
"window": 3.0,
"degree": NaN,
"endpoint_policy": "shrink",
"original_count": 6.0,
"source_row_positions": {
"shape": [
6,
1
],
"dtype": "uint64",
"values": [
1,
2,
3,
4,
5,
6
]
},
"dropped_row_positions": {
"shape": [
0,
1
],
"dtype": "uint64",
"values": []
}
}baseline
- Access
- Registered in the Python Job
- Arguments
- X, Y, optional options; or X, Y, anchor X, anchor Y, options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Original response, baseline, corrected response and exact selected positions with estimator receipt
- Effect
- Estimate a sampled-series baseline
- Types
- vector
- Declared shape
- same_length_xy
- Options
- method=operation_specific
- Nonfinite values
- error,omit
- Units rule
- preserve_y
gxtxt_api_call("NUMERIC_API_v1", "baseline", args)Recorded result · baseline
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"shape": [
6
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
}
]Result, preview
{
"x": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
"baseline": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
6.0,
6.0,
6.0,
6.0,
6.0,
6.0
]
},
"corrected": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
-5.0,
-3.0,
-1.0,
1.0,
3.0,
5.0
]
},
"method": "constant",
"degree": 0.0,
"coefficients": 6.0,
"original_x": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
"original_y": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
"source_row_positions": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0,
5.0,
6.0
]
},
"dropped_row_positions": {
"shape": [
0,
1
],
"dtype": "float64",
"values": []
},
"index_base": 1.0,
"original_n": 6.0,
"selected_n": 6.0,
"nonfinite_policy": "error",
"row_order": "original_input_order",
"estimator": {},
"schema": "gxtxt.baseline_result.v1"
}signal_snr
- Access
- Registered in the Python Job
- Arguments
- two vectors and optional empty options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- SNR and explicit energy/zero facts
- Effect
- Ratio of supplied complex magnitude energies with explicit zero facts
- Types
- vector
- Declared shape
- equal_vectors
- Nonfinite values
- error
- Units rule
- explicit_response
gxtxt_api_call("NUMERIC_API_v1", "signal_snr", args)Recorded result · signal_snr
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.04713967368259977,
0.08314696123025453,
0.09951847266721969,
0.09238795325112868,
0.06343932841636456,
0.01950903220161286,
-0.029028467725446212,
-0.07071067811865475,
-0.09569403357322089,
-0.09807852804032305,
-0.07730104533627374
]
}
]Result, preview
{
"n": 64.0,
"snr_db": 19.99999999999999,
"signal_energy": 32.0,
"noise_energy": 0.3200000000000003,
"signal_zero": false,
"noise_zero": false,
"method": "ratio_of_supplied_complex_magnitude_energies"
}signal_spectrum_quality
- Access
- Registered in the Python Job
- Arguments
- real vector, sample rate and fundamental_hz options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Raw FFT-bin powers, ratios and harmonic order identities
- Effect
- Coherent positive FFT-bin quality retaining raw squared magnitudes
- Types
- vector,scalar
- Declared shape
- real_vector_and_positive_rate
- Options
- fundamental_hz=positive_number
- Nonfinite values
- error
- Units rule
- explicit_response
gxtxt_api_call("NUMERIC_API_v1", "signal_spectrum_quality", args)Recorded result · signal_spectrum_quality
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
64.0,
{
"fundamental_hz": 5.0
}
]Result, preview
{
"n": 64.0,
"sample_rate": 64.0,
"fundamental_hz": 5.0,
"fundamental_bin": 5.0,
"harmonic_orders": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
2.0,
3.0,
4.0,
5.0,
6.0
]
},
"method": "coherent_positive_fft_bins",
"normalization": "raw_positive_fft_squared",
"fundamental_power": 1024.0,
"dc_power": 5.913602589240138e-29,
"harmonic_powers": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
6.824952528814714e-29,
5.607352861675117e-29,
2.7926800926447673e-29,
3.775910917730832e-29,
1.251283380838676e-28
]
},
"noise_power": 1.2645836324407494e-27,
"noise_floor_power_per_bin": 4.317593262844297e-29,
"noise_floor_db_relative": -313.75058229253546,
"distortion_power": 3.151373020925219e-28,
"thd": 5.54753343004554e-16,
"thd_db": -305.11800143963677,
"thd_plus_n": 1.242053229588067e-15,
"snr_db": 299.0835240021802
}fft_spectrum_quality
- Access
- Registered in the Python Job
- Arguments
- real samples, sample step, optional estimator options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Amplitude spectrum, bounded quality facts and component columns
- Effect
- Retained coherent-gain-corrected FFT lobe quality
- Types
- vector,scalar
- Declared shape
- real_vector_and_positive_step
- Options
- window=window_name;fundamental_mode=auto_peak,explicit;fundamental_hz=positive_number;track_harmonics=2_to_65536;spur_search=all_nonfundamental,nonharmonic_only;guard_bins=nonnegative_integer;detrend=method
- Nonfinite values
- error
- Units rule
- explicit_response_and_inverse_coordinate
gxtxt_api_call("NUMERIC_API_v1", "fft_spectrum_quality", args)Recorded result · fft_spectrum_quality
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
0.015625
]Result, preview
{
"N": 64.0,
"fs": 64.0,
"df": 1.0,
"coherent_gain": 0.49218750000000017,
"amp": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
0.00016436355704095766,
0.0007142221665452508,
0.0017604315767766568,
0.005288422349501104,
0.5119048259513536,
0.9998604020119642,
0.511844397895942,
0.005416067244400511,
0.0019695323711151932,
0.0010206868298851183,
0.0006197495456316123,
0.00041289212707520934
]
},
"Nh": 33.0,
"fund_bin": 5.0,
"fund_amp": 1.2344267346410698,
"f0": 5.0,
"magnitude_dbc": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
-77.5131957503344,
-64.75263988217003,
-56.91692338050302,
-47.362783739273894,
-7.64552190102102,
-1.830518995463025,
-7.646547291631789,
-47.15562542227702,
-55.94204391326947,
-61.651456157635934,
-65.98498203735038,
-69.51257433942259
]
},
"harm_bins": {
"shape": [
1,
5
],
"dtype": "float64",
"values": [
8.0,
13.0,
18.0,
23.0,
28.0
]
},
"harm_amp": {
"shape": [
1,
5
],
"dtype": "float64",
"values": [
0.5118782339489737,
0.000589956141527464,
0.0001743089433847725,
8.169269481732626e-05,
5.120684125700953e-05
]
},
"harm_freq": {
"shape": [
1,
5
],
"dtype": "float64",
"values": [
8.0,
13.0,
18.0,
23.0,
28.0
]
},
"thd_ratio": 0.41466909158287796,
"thd_db": -7.645966693503825,
"thd_pct": 41.4669091582878,
"sfdr_db": 55.94204391326947,
"worst_dbc": -55.94204391326947
}harmonic_peak_quality
- Access
- Registered in the Python Job
- Arguments
- frequency, amplitude, optional detection options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Detected component columns and bounded THD facts
- Effect
- Local single-bin harmonic peaks from an existing amplitude spectrum
- Types
- vector
- Declared shape
- paired_real_vectors
- Options
- fundamental_mode=auto_peak,explicit;fundamental_frequency=positive_number;max_harmonic=2_to_10000;search_half_width_bins=0_to_1000;exclude_dc_bins=0_to_1000
- Nonfinite values
- error
- Units rule
- explicit_frequency_and_amplitude
gxtxt_api_call("NUMERIC_API_v1", "harmonic_peak_quality", args)Recorded result · harmonic_peak_quality
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0
]
},
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
1.0,
2.0,
2.0
]
}
]Result, preview
{
"component_order": 1.0,
"component_expected_frequency": 3.0,
"component_frequency": 3.0,
"component_frequency_error": 0.0,
"component_amplitude": 2.0,
"component_level_db": 0.0,
"component_percent": 100.0,
"fundamental_amplitude": 2.0,
"component_method": "single_bin_peak",
"component_level_floor": "realmin",
"thd_ratio": 0.0,
"thd_pct": 0.0,
"thd_db": -Infinity,
"f0": 3.0,
"fund_amp": 2.0,
"bin_count": 4.0,
"resolved_harmonics": 1.0,
"df": 1.0
}harmonic_components
- Access
- Registered in the Python Job
- Arguments
- orders, expected frequencies, detected frequencies, amplitudes, required fundamental_amplitude options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Component columns with explicit level floor and reference
- Effect
- Relative component levels with retained order identities and floor convention
- Types
- vector
- Declared shape
- four_equal_vectors
- Options
- fundamental_amplitude=nonnegative_number;level_floor=none,realmin;component_method=supplied_component_amplitude,fft_lobe_rss,single_bin_peak
- Nonfinite values
- error
- Units rule
- explicit_frequency_and_amplitude
gxtxt_api_call("NUMERIC_API_v1", "harmonic_components", args)Recorded result · harmonic_components
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0
]
},
{
"shape": [
4
],
"dtype": "float64",
"values": [
5.0,
10.0,
15.0,
20.0
]
},
{
"shape": [
4
],
"dtype": "float64",
"values": [
5.0,
10.0,
15.0,
20.0
]
},
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
1.0,
2.0,
2.0
]
},
{
"fundamental_amplitude": 1.0
}
]Result, preview
{
"component_order": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0
]
},
"component_expected_frequency": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
5.0,
10.0,
15.0,
20.0
]
},
"component_frequency": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
5.0,
10.0,
15.0,
20.0
]
},
"component_frequency_error": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0
]
},
"component_amplitude": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
2.0,
2.0
]
},
"component_level_db": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
6.020599913279624,
6.020599913279624
]
},
"component_percent": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
100.0,
100.0,
200.0,
200.0
]
},
"fundamental_amplitude": 1.0,
"component_method": "supplied_component_amplitude",
"component_level_floor": "none"
}signal_periodogram
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal periodogram with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_periodogram", args)Recorded result · signal_periodogram
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"psd_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
1.4156256867885613e-08,
3.624430803074741e-05,
7.280617281268194e-05,
3.7530619179853204e-05,
1.3365155793025014e-07,
2.9034947865509705e-05,
5.840626803232907e-05,
2.9737273897297563e-05,
8.119806422431708e-07,
6.5043044789330645e-06,
5.5807990875973325e-06,
1.6269417298998932e-06
]
},
"psd_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 0.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_periodogram_window_energy",
"spectral_operation": "periodogram",
"sidedness": "onesided",
"detrend": "none",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}signal_welch
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal welch with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_welch", args)Recorded result · signal_welch
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"psd_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
1.4156256867910486e-08,
3.624430803074762e-05,
7.28061728126818e-05,
3.753061917985322e-05,
1.3365155793022325e-07,
2.9034947865509535e-05,
5.8406268032329116e-05,
2.9737273897297577e-05,
8.119806422431626e-07,
6.50430447893305e-06,
5.580799087597332e-06,
1.6269417298998856e-06
]
},
"psd_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "welch",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}signal_asd
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal asd with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_asd", args)Recorded result · signal_asd
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"asd": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.00011898006920451209,
0.006020324578521296,
0.008532653327815552,
0.0061262238924033145,
0.0003655838589574535,
0.005388408657990737,
0.007642399363572223,
0.005453189332610558,
0.000901099684964523,
0.002550353794855343,
0.0023623714965257544,
0.0012755162601471946
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "asd",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}signal_cross_psd
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal cross_psd with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_cross_psd", args)Recorded result · signal_cross_psd
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.9427934736519953,
1.6629392246050905,
1.9903694533443936,
1.8477590650225735,
1.268786568327291,
0.3901806440322572,
-0.5805693545089242,
-1.414213562373095,
-1.9138806714644176,
-1.9615705608064609,
-1.5460209067254749
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"value_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
2.8312513735820973e-08,
7.248861606149524e-05,
0.0001456123456253636,
7.506123835970644e-05,
2.673031158604465e-07,
5.806989573101907e-05,
0.00011681253606465823,
5.947454779459515e-05,
1.6239612844863252e-06,
1.30086089578661e-05,
1.1161598175194663e-05,
3.253883459799771e-06
]
},
"value_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "cross_psd",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}Negative test or attempted call · signal_cross_psd
Download the example script (ZIP).
Result, preview
"GXTXT:ScriptBridge:InvalidArguments: Invalid signal_cross_psd arguments"
signal_coherence
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal coherence with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_coherence", args)Recorded result · signal_coherence
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.9427934736519953,
1.6629392246050905,
1.9903694533443936,
1.8477590650225735,
1.268786568327291,
0.3901806440322572,
-0.5805693545089242,
-1.414213562373095,
-1.9138806714644176,
-1.9615705608064609,
-1.5460209067254749
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"value_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"value_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "coherence",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}Negative test or attempted call · signal_coherence
Download the example script (ZIP).
Result, preview
"GXTXT:ScriptBridge:InvalidArguments: Invalid signal_coherence arguments"
signal_frf_h1
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal frf_h1 with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_frf_h1", args)Recorded result · signal_frf_h1
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.9427934736519953,
1.6629392246050905,
1.9903694533443936,
1.8477590650225735,
1.268786568327291,
0.3901806440322572,
-0.5805693545089242,
-1.414213562373095,
-1.9138806714644176,
-1.9615705608064609,
-1.5460209067254749
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"value_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0
]
},
"value_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "frf_h1",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}Negative test or attempted call · signal_frf_h1
Download the example script (ZIP).
Result, preview
"GXTXT:ScriptBridge:InvalidArguments: Invalid signal_frf_h1 arguments"
signal_frf_h2
- Access
- Registered in the Python Job
- Arguments
- signals, sample_rate, optional window/overlap/nfft
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary spectral vectors and common estimator facts
- Effect
- Signal frf_h2 with explicit normalization and spectral interpretation
- Types
- vector,scalar
- Declared shape
- finite_sequences
- Options
- nfft=nonnegative_integer;window=vector_or_length;overlap=fraction
- Nonfinite values
- error
- Units rule
- estimator_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_frf_h2", args)Recorded result · signal_frf_h2
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.9427934736519953,
1.6629392246050905,
1.9903694533443936,
1.8477590650225735,
1.268786568327291,
0.3901806440322572,
-0.5805693545089242,
-1.414213562373095,
-1.9138806714644176,
-1.9615705608064609,
-1.5460209067254749
]
},
64.0
]Result, preview
{
"frequency_hz": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
1.25,
1.5,
1.75,
2.0,
2.25,
2.5,
2.75
]
},
"value_real": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0,
2.0
]
},
"value_imaginary": {
"shape": [
129,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"n": 64.0,
"sample_rate": 64.0,
"fft_length": 256.0,
"bin_count": 129.0,
"window_length": 64.0,
"overlap_samples": 32.0,
"window_count": 1.0,
"used_sample_count": 64.0,
"method": "octave_native_welch_window_energy",
"spectral_operation": "frf_h2",
"sidedness": "onesided",
"detrend": "global_mean_over_used_segment_span",
"input_kind": "real",
"normalization": "window_energy_and_sample_rate"
}Negative test or attempted call · signal_frf_h2
Download the example script (ZIP).
Result, preview
"GXTXT:ScriptBridge:InvalidArguments: Invalid signal_frf_h2 arguments"
window_metrics
- Access
- Registered in the Python Job
- Arguments
- window, sample_rate and optional empty options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- bounded gains and equivalent noise bandwidth
- Effect
- Discrete window coherent power gain and equivalent noise bandwidth
- Types
- vector,scalar
- Declared shape
- finite_real_nonzero_sum
- Nonfinite values
- error
- Units rule
- dimensionless_and_hz
gxtxt_api_call("NUMERIC_API_v1", "window_metrics", args)Recorded result · window_metrics
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.002484612317299295,
0.009913756075728086,
0.022213597106929717,
0.03926189406479613,
0.06088921331488567,
0.08688061284200266,
0.11697777844051105,
0.15088159095696363,
0.18825509907063326,
0.22872686806712034,
0.2718946713234187
]
},
64.0
]Result, preview
{
"n": 64.0,
"sample_rate": 64.0,
"coherent_gain": 0.49218749999999994,
"power_gain": 0.369140625,
"equivalent_noise_bandwidth_hz": 1.5238095238095242,
"method": "discrete_window_moments"
}signal_correlation
- Access
- Registered in the Python Job
- Arguments
- first, second and optional normalization/sample_rate
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- binary lag vectors and bounded peak facts
- Effect
- Uncentered conjugate sequence correlation with explicit lag and peak policy
- Types
- vector
- Declared shape
- finite_sequences
- Options
- normalization=none,biased,unbiased,coefficient;sample_rate=positive_number
- Nonfinite values
- error
- Units rule
- normalization_dependent
gxtxt_api_call("NUMERIC_API_v1", "signal_correlation", args)Recorded result · signal_correlation
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
},
{
"shape": [
64
],
"dtype": "float64",
"values": [
-0.831469612302546,
-0.47139673682599725,
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088
]
}
]Result, preview
{
"value_real": {
"shape": [
127,
1
],
"dtype": "float64",
"values": [
0.0,
-0.46912683269234595,
-1.2629796557016943,
-2.0576213209320997,
-2.4583052792961824,
-2.141602829601808,
-0.9858170418938255,
0.8538753571968297,
2.9542576918327423,
4.721364605634719,
5.553881714323422,
5.028603201335554
]
},
"value_imaginary": {
"shape": [
127,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"lags": {
"shape": [
127,
1
],
"dtype": "float64",
"values": [
-63.0,
-62.0,
-61.0,
-60.0,
-59.0,
-58.0,
-57.0,
-56.0,
-55.0,
-54.0,
-53.0,
-52.0
]
},
"delay_samples": -2.0,
"delay_seconds": NaN,
"n": 64.0,
"n_x": 64.0,
"n_y": 64.0,
"lag_count": 127.0,
"sample_rate": NaN,
"peak_magnitude": 31.086443400327255,
"peak_value_real": 31.086443400327255,
"peak_value_imaginary": 0.0,
"peak_resolved": true,
"input_kind": "real",
"normalization": "none",
"method": "uncentered_conjugate_sequence_correlation",
"peak_policy": "first_maximum_absolute_in_ascending_lag"
}signal_summary
- Access
- Registered in the Python Job
- Arguments
- numeric vector and optional empty options
- Units
- Units follow NUMERIC_API_v1 operation contract
- Result
- Bounded magnitude RMS, peak, crest and split complex DC facts
- Effect
- Descriptive magnitude RMS crest and complex DC without sampling inference
- Types
- vector
- Declared shape
- nonempty_finite_real_or_complex
- Nonfinite values
- error
- Units rule
- caller_owned
- Catalog token
- signal_summary
gxtxt_api_call("NUMERIC_API_v1", "signal_summary", args)Recorded result · signal_summary
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
}
]Result, preview
{
"n": 64.0,
"rms": 0.7071067811865476,
"peak": 1.0,
"peak_to_peak": 2.0,
"crest_factor": 1.414213562373095,
"dc_real": 1.249000902703301e-16,
"dc_imaginary": 0.0,
"input_kind": "real",
"method": "descriptive_complex_magnitude"
}Contract query · expression-name:signal_summary
Download the example script (ZIP).
Example operands, preview
[ "signal_summary" ]
Result, preview
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'signal_summary'"
unwrap
- Access
- Registered in the Python Job
- Arguments
- phase {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Effect
- Unwrap phase with an explicit positive period
- Types
- vector
- Declared shape
- vector
- Options
- period=positive_number;nonfinite=error,ieee
- Nonfinite values
- error,ieee
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "unwrap", args)Recorded result · unwrap
Download the example script (ZIP).
Example operands, preview
[
{
"kind": "vector",
"value": [
2.0,
3.0,
-3.0,
-2.0
]
}
]Result, preview
{
"values": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
2.0,
3.0,
3.2831853071795862,
4.283185307179586
]
},
"period": 6.283185307179586
}Negative test or attempted call · unwrap
Download the example script (ZIP).
Result, preview
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/unwrap: math.numeric API v1: array operand requires kind and value"
digitalFilter
- Access
- Registered in the Python Job
- Arguments
- y b a {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric digitalFilter
gxtxt_api_call("NUMERIC_API_v1", "digitalFilter", args)Recorded result · digitalFilter
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
{
"shape": [
2
],
"dtype": "float64",
"values": [
0.5,
0.5
]
},
{
"shape": [
1
],
"dtype": "float64",
"values": [
1.0
]
}
]Result, preview
{
"y": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.5,
2.0,
4.0,
6.0,
8.0,
10.0
]
},
"b": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
0.5
]
},
"a": 1.0,
"method": "causal_difference_equation",
"initial_state": "zero"
}findPeaks
- Access
- Registered in the Python Job
- Arguments
- x y {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric findPeaks
gxtxt_api_call("NUMERIC_API_v1", "findPeaks", args)Recorded result · findPeaks
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
0.0,
3.0,
0.0,
0.0
]
}
]Result, preview
{
"indices": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
4.0
]
},
"x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"heights": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"prominences": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"widths": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
1.0
]
},
"left_x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
2.5
]
},
"right_x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.5,
3.5
]
},
"n": 2.0,
"min_height": -1.7976931348623157e+308,
"min_prominence": 0.0,
"min_distance": 1.0,
"distance_mode": "samples",
"relative_height": 0.5,
"index_base": 1.0
}baselineAnchored
- Access
- Registered in the Python Job
- Arguments
- x y anchorX anchorY {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric baselineAnchored
gxtxt_api_call("NUMERIC_API_v1", "baselineAnchored", args)Recorded result · baselineAnchored
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"shape": [
6
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
{
"shape": [
2
],
"dtype": "float64",
"values": [
0.0,
5.0
]
},
{
"shape": [
2
],
"dtype": "float64",
"values": [
1.0,
11.0
]
}
]Result, preview
{
"x": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
"baseline": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
"corrected": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"method": "anchors_linear",
"degree": NaN,
"coefficients": {
"shape": [
0,
1
],
"dtype": "float64",
"values": []
},
"original_x": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
"original_y": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
"source_row_positions": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0,
5.0,
6.0
]
},
"dropped_row_positions": {
"shape": [
0,
1
],
"dtype": "float64",
"values": []
},
"index_base": 1.0,
"original_n": 6.0,
"selected_n": 6.0,
"nonfinite_policy": "error",
"row_order": "original_input_order",
"estimator": {},
"schema": "gxtxt.baseline_result.v1"
}fft
- Access
- Registered in the Python Job
- Arguments
- values {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Effect
- Fast Fourier transform of real samples
- Types
- vector
- Declared shape
- vector
- Options
- nfft=positive_integer;normalization=backward,forward,unitary
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "fft", args)Recorded result · fft
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
32
],
"dtype": "float64",
"values": [
0.0,
0.7071067811865475,
1.0,
0.7071067811865476,
1.2246467991473532e-16,
-0.7071067811865475,
-1.0,
-0.7071067811865477,
-2.4492935982947064e-16,
0.7071067811865474,
1.0,
0.7071067811865483
]
}
]Result, preview
{
"real": {
"shape": [
32,
1
],
"dtype": "float64",
"values": [
4.5769509808878765e-17,
-1.706889689943967e-16,
-3.452901696849478e-16,
-1.1569877958261678e-15,
-7.105427357601002e-15,
1.8968341036041727e-15,
1.3456254655311753e-15,
-6.23450871612659e-18,
4.898587196589414e-16,
9.859519480340094e-16,
-3.6590802621329265e-16,
-9.1711666428629e-16
]
},
"imaginary": {
"shape": [
32,
1
],
"dtype": "float64",
"values": [
0.0,
2.7316275314659367e-16,
5.954493677381473e-16,
3.1571331175043544e-15,
-16.000000000000007,
-1.4633648889847446e-15,
-1.975631889080273e-15,
-1.0973498511366174e-15,
4.440892098500626e-16,
-6.915376004777101e-16,
-9.959144497623906e-16,
9.01882240309927e-16
]
},
"nfft": 32.0,
"input_length": 32.0,
"normalization": "backward",
"ordering": "fft"
}ifft
- Access
- Registered in the Python Job
- Arguments
- realValues imaginaryValues {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Effect
- Inverse transform of split-complex samples
- Types
- vector
- Declared shape
- same_length
- Options
- nfft=positive_integer;normalization=backward,forward,unitary
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "ifft", args)Recorded result · ifft
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64,
1
],
"dtype": "float64",
"values": [
7.689995181559049e-15,
5.72047617740572e-15,
-2.9681765870387576e-15,
2.6778899531490908e-15,
-3.2061816677410795e-16,
-1.5987211554602254e-14,
1.6618196038444433e-15,
1.0293590726313398e-15,
-3.1608007884307374e-15,
4.3137816751321714e-15,
7.76456316151032e-15,
-1.5340161705889883e-15
]
},
{
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
8.839130310880738e-15,
4.571530810171587e-15,
-8.669183037265637e-16,
9.152206921238424e-15,
-32.0,
-6.228698541996673e-15,
3.571969280157572e-15,
-2.850653809804188e-15,
-6.921666041232253e-15,
2.8215393314756403e-15,
3.0061929049256573e-15
]
}
]Result, preview
{
"real": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
1.4375084833626865e-17,
0.4713967368259976,
0.831469612302545,
0.9951847266721967,
0.923879532511287,
0.6343932841636454,
0.19509032201612858,
-0.29028467725446205,
-0.7071067811865476,
-0.9569403357322088,
-0.9807852804032302,
-0.7730104533627378
]
},
"imaginary": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
-7.395570986446986e-32,
5.551115123125783e-17,
2.7755575615628864e-17,
2.775557561562896e-17,
-1.1102230246251558e-16,
-5.551115123125783e-17,
-5.551115123125785e-17,
0.0,
-1.962615573354714e-17,
-3.925231146709438e-17,
9.813077866773569e-18
]
},
"nfft": 64.0,
"input_length": 64.0,
"normalization": "backward",
"ordering": "sample"
}analyticSignal
- Access
- Registered in the Python Job
- Arguments
- values {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric analyticSignal
gxtxt_api_call("NUMERIC_API_v1", "analyticSignal", args)Recorded result · analyticSignal
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64
],
"dtype": "float64",
"values": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
}
]Result, preview
{
"real": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
1.4375084833626914e-17,
0.4713967368259977,
0.8314696123025451,
0.9951847266721967,
0.9238795325112867,
0.6343932841636454,
0.19509032201612855,
-0.290284677254462,
-0.7071067811865476,
-0.956940335732209,
-0.9807852804032303,
-0.7730104533627375
]
},
"imaginary": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
-0.9999999999999992,
-0.881921264348355,
-0.5555702330196015,
-0.09801714032956056,
0.38268343236509017,
0.7730104533627368,
0.9807852804032304,
0.9569403357322092,
0.7071067811865479,
0.2902846772544625,
-0.19509032201612786,
-0.634393284163645
]
},
"amplitude": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.9999999999999992,
1.0,
0.9999999999999996,
0.9999999999999998,
1.0000000000000002,
0.9999999999999998,
1.0,
1.0000000000000002,
1.0000000000000002,
1.0000000000000002,
0.9999999999999998,
1.0000000000000002
]
},
"n": 64.0,
"method": "fft_hilbert_multiplier"
}frequencyGrid
- Access
- Registered in the Python Job
- Arguments
- sampleRate nfft {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric frequencyGrid
gxtxt_api_call("NUMERIC_API_v1", "frequencyGrid", args)Recorded result · frequencyGrid
Download the example script (ZIP).
Example operands, preview
[ 64.0, 64 ]
Result, preview
{
"frequency": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
10.0,
11.0
]
},
"sample_rate": 64.0,
"nfft": 64.0,
"df": 1.0,
"nyquist": 32.0,
"representation": "two_sided",
"ordering": "fft",
"has_nyquist": true
}oneSided
- Access
- Registered in the Python Job
- Arguments
- realValues imaginaryValues {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Function
- Exact original Numeric oneSided
gxtxt_api_call("NUMERIC_API_v1", "oneSided", args)Recorded result · oneSided
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
64,
1
],
"dtype": "float64",
"values": [
7.689995181559049e-15,
5.72047617740572e-15,
-2.9681765870387576e-15,
2.6778899531490908e-15,
-3.2061816677410795e-16,
-1.5987211554602254e-14,
1.6618196038444433e-15,
1.0293590726313398e-15,
-3.1608007884307374e-15,
4.3137816751321714e-15,
7.76456316151032e-15,
-1.5340161705889883e-15
]
},
{
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
8.839130310880738e-15,
4.571530810171587e-15,
-8.669183037265637e-16,
9.152206921238424e-15,
-32.0,
-6.228698541996673e-15,
3.571969280157572e-15,
-2.850653809804188e-15,
-6.921666041232253e-15,
2.8215393314756403e-15,
3.0061929049256573e-15
]
}
]Result, preview
{
"real": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
7.689995181559049e-15,
5.72047617740572e-15,
-2.9681765870387576e-15,
2.6778899531490908e-15,
-3.2061816677410795e-16,
-1.5987211554602254e-14,
1.6618196038444433e-15,
1.0293590726313398e-15,
-3.1608007884307374e-15,
4.3137816751321714e-15,
7.76456316151032e-15,
-1.5340161705889883e-15
]
},
"imaginary": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
0.0,
8.839130310880738e-15,
4.571530810171587e-15,
-8.669183037265637e-16,
9.152206921238424e-15,
-32.0,
-6.228698541996673e-15,
3.571969280157572e-15,
-2.850653809804188e-15,
-6.921666041232253e-15,
2.8215393314756403e-15,
3.0061929049256573e-15
]
},
"factor": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"indices": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
10.0,
11.0,
12.0
]
},
"nfft": 64.0,
"bin_count": 33.0,
"scaling": "none",
"has_nyquist": true
}detrend
- Access
- Registered in the Python Job
- Arguments
- values {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Effect
- Remove a declared trend from samples
- Types
- vector
- Declared shape
- vector
- Options
- method=none,mean,linear
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "detrend", args)Recorded result · detrend
Download the example script (ZIP).
Example operands, preview
[
{
"shape": [
6
],
"dtype": "float64",
"values": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
}
]Result, preview
{
"values": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
-5.0,
-3.0,
-1.0,
1.0,
3.0,
5.0
]
},
"trend": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
6.0,
6.0,
6.0,
6.0,
6.0,
6.0
]
},
"method": "mean",
"n": 6.0
}window
- Access
- Registered in the Python Job
- Arguments
- name length {options {}}
- Units
- Exact original owner units and interpretation; no relabelling
- Result
- Complete original result with number/boolean/string/vector/matrix/tensor/struct/cell types from owner resultTypes immediately after call
- Effect
- Construct a window function
- Types
- string,scalar
- Declared shape
- scalar_parameters
- Options
- sampling=periodic,symmetric
- Nonfinite values
- error
- Units rule
- dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "window", args)Recorded result · window
Download the example script (ZIP).
Example operands, preview
[ "hann", 64 ]
Result, preview
{
"values": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
0.002484612317299295,
0.009913756075728086,
0.02221359710692966,
0.03926189406479619,
0.060889213314885726,
0.08688061284200255,
0.116977778440511,
0.15088159095696357,
0.1882550990706332,
0.22872686806712028,
0.2718946713234185
]
},
"name": "hann",
"length": 64.0,
"sampling": "symmetric",
"power_sum": 23.624999999999996,
"coherent_gain": 0.49218750000000017,
"rms_gain": 0.6075694404757368,
"enbw_bins": 1.5238095238095226
}complex_unary.phase_rad
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- real_part,imaginary_part
- Shape
- matching_parts_or_scalar
- Units
- operation_specific
- Result
- same_as_input
- Effect
- Project a split-complex array to a real array
- Types
- scalar,vector,matrix
- Declared shape
- matching_parts_or_scalar
- Expansion
- scalar_expansion
- Options
- nonfinite=error,ieee
- Nonfinite values
- error,ieee
- Units rule
- operation_specific
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["complex_unary.phase_rad", operands])Recorded result · call:complex_unary.phase_rad
Download the example script (ZIP).
Example operands, preview
[
"complex_unary.phase_rad",
[
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.25,
0.75
]
},
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.5,
0.25
]
}
]
]Result, preview
{
"values": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.1071487177940904,
0.3217505543966422
]
}
}complex_unary.phase_deg
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- real_part,imaginary_part
- Shape
- matching_parts_or_scalar
- Units
- operation_specific
- Result
- same_as_input
- Effect
- Project a split-complex array to a real array
- Types
- scalar,vector,matrix
- Declared shape
- matching_parts_or_scalar
- Expansion
- scalar_expansion
- Options
- nonfinite=error,ieee
- Nonfinite values
- error,ieee
- Units rule
- operation_specific
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["complex_unary.phase_deg", operands])Recorded result · call:complex_unary.phase_deg
Download the example script (ZIP).
Example operands, preview
[
"complex_unary.phase_deg",
[
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.25,
0.75
]
},
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.5,
0.25
]
}
]
]Result, preview
{
"values": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
63.43494882292201,
18.43494882292201
]
}
}digital_filter
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- y,numerator,denominator
- Shape
- vector
- Units
- preserve
- Result
- vector
- Effect
- Apply a digital filter
- Types
- vector
- Declared shape
- vector
- Options
- nonfinite=error
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["digital_filter", operands])Recorded result · call:digital_filter
Download the example script (ZIP).
Example operands, preview
[
"digital_filter",
[
{
"kind": "array",
"shape": [
6,
1
],
"real": [
1.0,
3.0,
5.0,
7.0,
9.0,
11.0
]
},
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.5,
0.5
]
},
{
"kind": "array",
"shape": [
1,
1
],
"real": [
1.0
]
}
]
]Result, preview
{
"y": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
0.5,
2.0,
4.0,
6.0,
8.0,
10.0
]
},
"b": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
0.5
]
},
"a": 1.0,
"method": "causal_difference_equation",
"initial_state": "zero"
}find_peaks
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- x,y
- Shape
- same_length_xy
- Units
- preserve_y
- Result
- features
- Effect
- Find local peaks in a sampled series
- Types
- vector
- Declared shape
- same_length_xy
- Options
- min_height=number;min_prominence=number;min_distance=number
- Nonfinite values
- error,omit
- Units rule
- preserve_y
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["find_peaks", operands])Recorded result · call:find_peaks
Download the example script (ZIP).
Example operands, preview
[
"find_peaks",
[
{
"kind": "array",
"shape": [
6,
1
],
"real": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"kind": "array",
"shape": [
6,
1
],
"real": [
0,
1,
0,
3,
0,
0
]
}
]
]Result, preview
{
"indices": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
4.0
]
},
"x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"heights": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"prominences": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
3.0
]
},
"widths": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
1.0
]
},
"left_x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
2.5
]
},
"right_x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.5,
3.5
]
},
"n": 2.0,
"min_height": -1.7976931348623157e+308,
"min_prominence": 0.0,
"min_distance": 1.0,
"distance_mode": "samples",
"relative_height": 0.5,
"index_base": 1.0
}analytic_signal
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- values
- Shape
- vector
- Units
- preserve
- Result
- vector
- Effect
- Analytic signal from a real sample vector
- Types
- vector
- Declared shape
- vector
- Options
- nonfinite=error
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["analytic_signal", operands])Recorded result · call:analytic_signal
Download the example script (ZIP).
Example operands, preview
[
"analytic_signal",
[
{
"kind": "array",
"shape": [
64,
1
],
"real": [
0.0,
0.47139673682599764,
0.8314696123025452,
0.9951847266721968,
0.9238795325112867,
0.6343932841636455,
0.1950903220161286,
-0.2902846772544621,
-0.7071067811865475,
-0.9569403357322088,
-0.9807852804032304,
-0.7730104533627374
]
}
]
]Result, preview
{
"real": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
1.4375084833626914e-17,
0.4713967368259977,
0.8314696123025451,
0.9951847266721967,
0.9238795325112867,
0.6343932841636454,
0.19509032201612855,
-0.290284677254462,
-0.7071067811865476,
-0.956940335732209,
-0.9807852804032303,
-0.7730104533627375
]
},
"imaginary": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
-0.9999999999999992,
-0.881921264348355,
-0.5555702330196015,
-0.09801714032956056,
0.38268343236509017,
0.7730104533627368,
0.9807852804032304,
0.9569403357322092,
0.7071067811865479,
0.2902846772544625,
-0.19509032201612786,
-0.634393284163645
]
},
"amplitude": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.9999999999999992,
1.0,
0.9999999999999996,
0.9999999999999998,
1.0000000000000002,
0.9999999999999998,
1.0,
1.0000000000000002,
1.0000000000000002,
1.0000000000000002,
0.9999999999999998,
1.0000000000000002
]
},
"n": 64.0,
"method": "fft_hilbert_multiplier"
}frequency_grid
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- sample_rate,nfft
- Shape
- scalar_parameters
- Units
- inverse_time
- Result
- vector
- Effect
- Construct transform frequency coordinates
- Types
- scalar
- Declared shape
- scalar_parameters
- Options
- representation=one_sided,two_sided;ordering=fft,shifted
- Nonfinite values
- error
- Units rule
- inverse_time
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["frequency_grid", operands])Recorded result · call:frequency_grid
Download the example script (ZIP).
Example operands, preview
[
"frequency_grid",
[
{
"kind": "array",
"shape": [
1,
1
],
"real": [
64.0
]
},
{
"kind": "array",
"shape": [
1,
1
],
"real": [
64
]
}
]
]Result, preview
{
"frequency": {
"shape": [
64,
1
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
10.0,
11.0
]
},
"sample_rate": 64.0,
"nfft": 64.0,
"df": 1.0,
"nyquist": 32.0,
"representation": "two_sided",
"ordering": "fft",
"has_nyquist": true
}one_sided
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- real,imaginary
- Shape
- same_length
- Units
- preserve
- Result
- vector
- Effect
- Select a one-sided transform representation
- Types
- vector
- Declared shape
- same_length
- Options
- scaling=none,amplitude
- Nonfinite values
- error
- Units rule
- preserve
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["one_sided", operands])Recorded result · call:one_sided
Download the example script (ZIP).
Example operands, preview
[
"one_sided",
[
{
"kind": "array",
"shape": [
64,
1
],
"real": [
7.689995181559049e-15,
5.72047617740572e-15,
-2.9681765870387576e-15,
2.6778899531490908e-15,
-3.2061816677410795e-16,
-1.5987211554602254e-14,
1.6618196038444433e-15,
1.0293590726313398e-15,
-3.1608007884307374e-15,
4.3137816751321714e-15,
7.76456316151032e-15,
-1.5340161705889883e-15
]
},
{
"kind": "array",
"shape": [
64,
1
],
"real": [
0.0,
8.839130310880738e-15,
4.571530810171587e-15,
-8.669183037265637e-16,
9.152206921238424e-15,
-32.0,
-6.228698541996673e-15,
3.571969280157572e-15,
-2.850653809804188e-15,
-6.921666041232253e-15,
2.8215393314756403e-15,
3.0061929049256573e-15
]
}
]
]Result, preview
{
"real": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
7.689995181559049e-15,
5.72047617740572e-15,
-2.9681765870387576e-15,
2.6778899531490908e-15,
-3.2061816677410795e-16,
-1.5987211554602254e-14,
1.6618196038444433e-15,
1.0293590726313398e-15,
-3.1608007884307374e-15,
4.3137816751321714e-15,
7.76456316151032e-15,
-1.5340161705889883e-15
]
},
"imaginary": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
0.0,
8.839130310880738e-15,
4.571530810171587e-15,
-8.669183037265637e-16,
9.152206921238424e-15,
-32.0,
-6.228698541996673e-15,
3.571969280157572e-15,
-2.850653809804188e-15,
-6.921666041232253e-15,
2.8215393314756403e-15,
3.0061929049256573e-15
]
},
"factor": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"indices": {
"shape": [
33,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
10.0,
11.0,
12.0
]
},
"nfft": 64.0,
"bin_count": 33.0,
"scaling": "none",
"has_nyquist": true
}configure_fft_threads
- Access
- Listed in the service catalog. Check the selector and whether the call matches or is rejected.
- Arguments
- thread_count
- Shape
- scalar
- Units
- dimensionless_output
- Result
- scalar
- Effect
- Configure FFT backend thread count
- Types
- scalar
- Declared shape
- scalar
- Nonfinite values
- error
- Units rule
- dimensionless_output
gxtxt_api_call("NUMERIC_API_v1", "callOperation", ["configure_fft_threads", operands])Recorded result · call:configure_fft_threads
Download the example script (ZIP).
Example operands, preview
[
"configure_fft_threads",
[
{
"kind": "array",
"shape": [
1,
1
],
"real": [
1
]
}
]
]Result, preview
{
"requested": 1.0,
"applied": true,
"backend": "fftw"
}