opening EDB file in matlab or python - python

I have EDB files with raw data that I need to analyze for an experiment. The data is a recording of digital handwriting that was collected through a digital smartpen. I managed to open the file in File Viewer but it only allows viewing it, not editing.
Is there a function or any other way to open EDB files in Matlab or Python?
Many Thanks!

If you use Iron Python and CLR, check out ManagedEsent and Esedb.
http://managedesent.codeplex.com/SourceControl/latest#Esedb/
C Documentation:
http://msdn.microsoft.com/en-us/library/windows/desktop/gg269259(v=exchg.10).aspx

Related

Attach a .xlsx file in PDF using python

Currently I am using Adobe Acrobat Pro for attaching excel file using the Comments tools present there, but since I have to work with almost hundreds of pdf therefore the manual process becomes a tedious task.
Therefore, I have been trying to automate the process wherein I can a attach a excel file in pdf using python, but as of now haven't found a single reference as how to start the same.
Is this process even possible to automate?

How can I acces/download files from the Quectel BG96 using FILE AT commads?

Im using a Raspberry Pi 3 B+ with the Sixfab Raspberry Pi Cellular IoT HAT – LTE-M & NB-IoT & eGPRS. This hat is using the BG96 and I'm using its LTE_M. Im not using a library and making all the functions based on the Datasheets, but im stuck now. Its probably because i don't really understand the Datasheet about file handling.
So I'm making a python program that is supposed to download files from AWS S3. Im already able to get the file using:
AT+QHTTPGET=60
And im saving it to a file for example "sample.zip" using,
AT+QHTTPREADFILE="sample.zip",60
I can confirm that the file is downloaded successfully by using
AT+QFLST
command to see list of files is the UFS. The file sample.zip is shown and has the exact same filesize.
I know i can just use AT+QHTTPREAD, but this only works for strings like json or txt. I want to download different types of data.
My question is, how can I access or get this file? The file is saved in the Quectel BG96 UFS, but I want to save it to a file on my Raspberry PI. I tried the download command using
AT+QFDWL="sample.zip"
but then it just tries to return it as a string which ofcourse can't be done so it will be random characters.
AT+QFDWL="sample.zip" should be the correct command.
The modem switches to binary data mode, and prints out the data that represents your zip file. You need to convert the "string" (which is binary data that represents the zip file) you're getting back to binary data and to a file in python.

What is the purpose of .bytes file in unity?

My friend has sent me the .bytes file from unity for machine learning model.
But I don't know how to open it in python for ML. Could any one able to give me the answer about the .bytes file in unity.
What is the purpose of it?
How to use it for python?
What is the purpose of it?
It's a raw bytes of a file. Let's say that you want to import a file into Unity Resources folder and the file is not one of the supported resources files in Unity such as .png, .mp3 and .mp4, but you want Unity to include this special file extension in the final build, you change the file extension to .bytes. It will be included in the final build and you can load and retrieve it during run-time with the Resources API and TextAsset.bytes. It's simply used to hold binary data.
How to use it for python?
You can like you would with any binary file in python.
byte = f.read(1)
binary_string = bin(int(binascii.hexlify(byte), 16))[2:].zfill(8)
See this for more information.
.bytes file has many usages like in unity
1: Used as the text asset
2: Used as graph model for the brain in ML
Now point is how to use it in python
1: bytes file is directly convert to the .pb file in python by just renaming.
for more details refer:
https://github.com/Unity-Technologies/ml-agents/issues/735
Now how to use it in python code:
https://gist.github.com/jubjamie/2eec49ca1e4f58c5310d72918d991ef6

Reading rwd files in python

I want to read data from a .rwd file into Python. The file contains data on wind energy from NRG systems. IS there a way I can write parsers for new file types in Python. Being a beginner I am not sure whether I am using the correct terms in the question, so please bear.
The data I am reading contains wind energy data from NRG systems. They have a converter which converts .rwd files to .txt but works only on Windows. They haven't given any more information about whether the .rwd is encoded or not.I basically want to read it through Python because I want the software to work on Windows.

How to open .fif file format?

I want to open a .fif file of size around 800MB. I googled and found that these kind of files can be opened with photoshop. Is there a way to extract the images and store in some other standard format using python or c++.
This is probably an EEG or MEG data file. The full specification is here, and it can be read in with the MNE package in Python.
import mne
raw = mne.io.read_raw_fif('filename.fif')
FIF stands for Fractal Image Format and seems to be output of the Genuine Fractals Plugin for Adobe's Photoshop. Unfortunately, there is no format specification available and the plugin claims to use patented algorithms so you won't be able to read these files from within your own software.
There however are other tools which can do fractal compression. Here's some information about one example. While this won't allow you to open FIF files from the Genuine Fractals Plugin, it would allow you to compress the original file, if still available.
XnView seems to handle FIF files, but it's windows-only. There is a MP or Multiplatform version, but it seems less complete and didn't work when I tried to view a FIF file.
Update: XnView MP, which does work on Linux and OSX claims to support FIF, but I couldn't get it to work.
Update2: There's also an open source project:Fiasco that can work with fractal images, but not sure it's compatible with the proprietary FIF format.

Categories

Resources