No project description provided
Project description
PyCCSDS
PyCCSDS is a library to read a data packet coming from a space mission that follows the Consultative Committee for Space Data Systems (CCSDS) standard
Current version 0.1.0
[[TOC]]
Installation
python3 -m pip install Python-CCSDS
Usage
from PyCCSDS.ccsds import CCSDS
dat = CCSDS('BepiColombo',packet)
wehre packet is a string with the HEX rappresentation of the pachet
Limitation
Data Structure
The CCSDS Header is composed by two blocks:
- the Source Packet Header
- the Packet Data Field
The first one il long 48 bits the second one has a varble dimension and structure depending by the type and the content of the packet. in Figure 1 is reported the structure for a Telemetry Packet.
The structure of the CCSDS class follow the structure of the packet header.
classDiagram
CCSDS --|> SPH
CCSDS --|> PDF
SPH --|> packetID
SPH--|> sequenceControl
PDF --|> DFHeader
class CCSDS{
+ str Data
}
class DFHeader{
+ uint PUSVersion
+ uint ServiceType
+ uint ServiceSubType
+ uint DestinationId
+ uint Synchronization
+ uint CorseTime
+ uint FineTime
+ str SCET
+ str UTCTime
}
class SPH{
+ uint packetLength
}
class packetID{
+ uint VersionNum
+ uint packetType
+ uint dataFieldHeaderFlag
+ uint Apid
+ uint Pid
+ uint Pcat
}
class sequenceControl{
+ bin SegmentationFlag
+ uint SSC
}
class PDF{
+str Data
}
Figure 1 - Telemetry Packet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Python-CCSDS-0.1.0.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for Python_CCSDS-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b755d82b1c93b2bb6aebd5b95cfbb0a3a1c377bdb67a367562302fc080fc903f |
|
MD5 | cae63270cb04e6e4358191aa50e5b5b5 |
|
BLAKE2b-256 | 9dce3b17dc13f82bebf0abac60d22cb76fc6d7986c2b06967b61350340e02975 |