dsfb-rf 1.0.1

DSFB-RF Structural Semiotics Engine for RF Signal Monitoring - A Deterministic, Non-Intrusive Observer Layer for Typed Structural Interpretation of IQ Residual Streams in Electronic Warfare, Spectrum Monitoring, and Cognitive Radio
Documentation
+
��i7��X�Rt^RIHt^RIt^RIt^RIHt^RItRt	Rt
Rt]3RRlltR#)	a
ORACLE synthetic-proxy slice generator.

Emits a schema-preserving <=2 MB SigMF pair that stands in for the real
Northeastern GENESYS ORACLE USRP X310 capture when the 28 GB zip is not
present on the local filesystem and the public mirror is gated.

Honesty contract: the emitted .sigmf-meta always carries
`dsfb_rf:provenance="synthetic-proxy"`, and the slice is never substituted
for a paper metric. Signal content is drawn from the crate's existing
WiFi-with-device-fingerprint impairment model (see examples/oracle_usrp_b200.rs).
)�annotationsN)�Pathg�SAl�$ic
�,�V^8�dQhRRRRRRRRRR	/#)
��out_metar�out_data�rngznp.random.Generator�	n_samples�int�return�None�)�formats"�9/home/one/dsfb/crates/dsfb-rf/scripts/gen_proxy_oracle.py�__annotate__rsH��MM�MM��MM��MM�
�MM��	MM�

�MM�c��	�\V4p^@p^4p\\P!W4,44pVP.R9OWe3R7p\P!Wd3\P
R7p\PR:,p	VP\P
4VRV	3&\PPV^R7P\P
4p
V
PR84RVpRRVP4,,pR	R	VP4,,p
R
R
VP4,,pRVP4R
,
,pRVP4R
,
,p^
V
R,,p\P!V4pVPV,RVP\P!V4,VP\P !V4,,,,pW�RV,,,V\P"!R;\P$,R,\P&!V4,4,,p\P(!V4pV\P*!R
VR,^,,4,pV\P,!VR4,V,pR<pVVVP/V4RVP/V4,,,\P*!^4,,p\P0!V^,\P2R7pVPP\P24VR&VPP\P24VR&VP5VP744RRRRRRR\8P:!R\8P<!44RVRRRR\?\@4RR R!R"R#R$/R%R&^R'\BR(\8P:!R\8P<!44/.R)R&^R*VR+R,R-R.R/\VPER044R1
2/R2R,R3//./pVPG\HPJ!V^R47R5,R6R77R#)=�@y�?)�size)�dtype:NNN)�axisNg�~j�t�h?g����Mb`?g�������?g�?g4@g{�G�z�?g�?g�������?g�-���q=:�Nr:�Nrzdsfb_rf:provenancezsynthetic-proxyzdsfb_rf:proxy_forz1ORACLE Northeastern GENESYS USRP X310 WiFi Raw IQzdsfb_rf:source_modelz�WiFi-flavoured OFDM + USRP fingerprint impairment (LO leakage, I/Q imbalance, phase skew, DC offset, Tx soft compression); see examples/oracle_usrp_b200.rszdsfb_rf:generated_atz%Y-%m-%dT%H:%M:%SZzdsfb_rf:n_samples�globalz
core:datatype�cf32zcore:sample_ratezcore:versionz0.02zcore:authorzdsfb-rf synthetic proxyzcore:descriptionz�[SYNTHETIC PROXY] Schema-preserving stand-in for an ORACLE SigMF capture when the real 28 GB zip is absent. Do not cite as a real measurement.�captureszcore:sample_start�	frequencyz	core:timerzcore:sample_countzgenesys:transmitter�modelz.[SYNTHETIC PROXY] Ettus USRP X310 with UBX-160�	device_idzPROXY-i����06Xzgenesys:receiverz![SYNTHETIC PROXY] Ettus USRP B210)�indent�
zutf-8)�encoding�����)y��y��?y�?�y�?�?):�� N:�!�;Ny@gr:�N�0�?)&r
�np�ceil�choice�zeros�	complex64�r_�astype�fft�ifft�reshape�random�deg2rad�real�imag�cos�sin�exp�pi�arange�abs�sqrt�maximum�standard_normal�empty�float32�write_bytes�tobytes�time�strftime�gmtime�float�SAMPLE_RATE�	CENTER_HZ�integers�
write_text�json�dumps)rrrr	�
n_subcarriers�
n_occupied�symbols�qam4�	freq_grid�occ_idx�	time_grid�signal�lo_leak�amp_imbal_db�phase_skew_deg�dc_i�dc_q�	amp_imbal�
phase_skew�mag�sat�noise_sigmar�metas&&&&                    r�generater`s����I��I�
�M��J��"�'�'�)�3�4�5�G��:�:�8��?T�:�U�D����'�1����F�I��e�e�K� �G� �K�K����5�I�a��j�������I�A��.�5�5�b�l�l�C�I�
�
�
�r�
"�:�I�
.�F��e�c�j�j�l�*�*�G��$�����-�-�L��3�����-�-�N��C�J�J�L�3�&�'�D��C�J�J�L�3�&�'�D��|�d�*�+�I����N�+�J�
�[�[�9�
$�r�V�[�[�2�6�6�*�;M�-M�PV�P[�P[�^`�^d�^d�eo�^p�Pp�-p�'q�
q�F�
�b�4�i�'�
(�7�R�V�V�F�R�U�U�N�T�<Q�TV�T]�T]�^g�Th�<h�5i�+i�
i�F�
�&�&��.�C�

�����s�S�y�Q�.�.�/�
/�C��r�z�z�#�u�-�-��
4�F�#�K�
�k�S�%8�%8��%C�b�3�K^�K^�_h�Ki�Fi�%i�j�mo�mt�mt�uv�mw�w�
w�F�
�8�8�I��M����4�D����#�#�B�J�J�/�D��J����#�#�B�J�J�/�D��J��������(�	�/��P��!~���
�
�.B�D�K�K�M� R��Y���V���k� 2��F��4��)�

�	�)�1�k�9�k�SW�S`�S`�au�w{�xC�xC�xE�TF�G�H��#�Q�#�Y�%��M��6�#�c�l�l�8�.D�*E�c�)J�!K�(�#�W�.Q�$R�
�

�%�D�<
����
�
�4��2�T�9�G��Lr)
�__doc__�
__future__rrKrC�pathlibr�numpyr(rGrH�	N_SAMPLESr`r
rr�<module>rfs=���#��������	��	��	MM�MMr