Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica

learn more… | top users | synonyms

2
votes
2answers
225 views

Follow each pixel brightness in set of images (Memory constrained)

I have a set of 2700 consecutive png images (8bit, 2048*2048 pixels). I would like to visualize the intensity variation of each pixel vs. image number. Here is an example of 10 images: ...
-1
votes
4answers
129 views

Import vs ReadList CSV file with Currency Values

A testing file with the specified format can be downloaded from here Let's read a few lines from this file ...
3
votes
2answers
125 views

Importing CSV with multiline text fields

Here is a valid CSV: a1,b1,c1,d1,"e1 e1 e1" a2,b2,"c2 c2 c2",d2,e2 It has two rows and five columns, and contains two fields with embedded CRLF. (See the CSV ...
5
votes
2answers
240 views

Max of imported numerical data will not work

I loaded a list with 400,000 values from a file. The list was loaded correctly as I can get it's length (by Length[]) and I can also plot it. Why can't I get the Max or Min of this list though? When ...
0
votes
1answer
61 views

SocialMediaData[“Twitter”] - strange output

I am getting error messages when I use SocialMediaData["Twitter"]: ...
5
votes
1answer
64 views

ReadList ignore comment lines?

Is there a way to make ReadList ignore certain "comment lines" (say, all lines that start with #, or in general all lines that ...
0
votes
1answer
86 views

Import graphml file in mathematica

I am trying import a graphml file I created with NodeXL in mathematica in order to create a network. However when i try to import it I get the error message: "Cannot import data as GraphML format". ...
6
votes
1answer
328 views

How to correctly import data zipped with the “deflate” algorithm?

I'm writing an importer for the GIFTI file format. The details of the format are not particularly important, but the basic idea is that it is a relatively simple XML file which includes binary arrays ...
2
votes
2answers
75 views

How to separate the double columns while reading file

I have a file which has contents of the form 10533 "MENDOZAT " 115.0000 : 1 1.00000 Now I want to separate the words and get it as a list. like ...
4
votes
2answers
198 views

How can I encrypt/decrypt a directory?

I'd like to use Mathematica 10's new Encrypt and Decrypt functions to secure files and folders on my mac. Here's what I have so far but something goes wrong along the way, since by the end of this ...
2
votes
0answers
25 views

why does ReadString[“fname”,term] open a persistent stream, and how to close it?

Create a file temp.txt with the following content: test1 ;;; test2 ;;; test3 ;;; Treating the semicolon sequence as ...
3
votes
0answers
78 views

WDF specification?

Motivated by a recent question on the meaning of all sorts of W* acronyms, I would like to get more information about the Wolfram Data Framework (WDF). On its web page ...
1
vote
2answers
103 views

open Matlab sheet and plot

I have managed to import my data into mathematica, but I can't find a way to show the plot the way it was in the lab (Matlab automatically generated file usually show me a graph). Is there a way ...
3
votes
2answers
108 views

How to import 12-bit TIFF image

I have a CMOS camera which records images at 12 bit resolution. The camera software allows to save them as 12-bit TIFs. However, Mathematica cannot import this: ...
1
vote
0answers
47 views

Import Excel data from within Manipulate

I am processing a set of data using Manipulate, as I need some user input as well and the whole code must be delivered as .cdf . The set of data should be imported from an Excel file which is selected ...
5
votes
0answers
119 views

Call Magma in Mathematica

I've written some code in Mathematica, related to some group theory questions I have. Subsequently, I found that part of the code could be significantly sped up if I could just call a routine in ...
2
votes
1answer
44 views

how to import plain text file, with mixed formats with strings that contain commas [closed]

I have been struggling with this basic task, and I am surprised it is this hard to do in Mathematica. I get lost in the maze of Import and options and sub-options and after trying many things, still ...
4
votes
3answers
224 views

Histogram of a very large dataset?

I have a very large dataset stored in a file (over 2GB). The file contains a tab-separated table of floating-point numbers. I want to do an Histogram of all the numbers in the table. But if I try to ...
1
vote
0answers
274 views

Import/Export a FIT file, Fitness file created by Garmin GPS's and others

A FIT file is a binary replacement for GPX and TCX text files containing GPS and fitness data (heart monitors, etc.). Mathematica reads GPX and TCX files and represents them as XML. I would like to ...
3
votes
1answer
131 views

RawJSON vs JSON format

It has been very recently, since the release of version 10.3.0 I think, that Import/Export and ImportString/ExportString functions accept a format parameter with the value of "RawJSON". The ...
6
votes
1answer
95 views

Extracting PNG images from AVI movie

I have written the following code to extract all images from an uncompressed AVI movie and to save them as sequential PNGs. ...
0
votes
3answers
62 views

Importing Text file with Null Character column separation

I have a text file (ANSI econding) with two columns of real numbers separated, unfortunately, by a "Null Character" ("\.00"). How can I import this data easily? ...
17
votes
1answer
1k views

Slow import of multigigabyte TIF image stacks

Update 6: After contacting Wolfram Technical Support, I was advised that the frame-to-frame import timing variability can be eliminated by reading in the frame stack from frame to frame with the ...
3
votes
1answer
82 views

Mathematica does not import .mat file correctly [closed]

I have .mat file that contains a binary (0,1) matrix with size 100*100*100. I have used this syntax to import it in mathematica ...
1
vote
1answer
82 views

Using ReadList to import specific arrays of a multi-dimensional variable

Consider a large numerical variable (almost 1GB) which was constructed like below: output={scalar1,{Matrix1,Matrix2,Matrix3,scalar2}}; I used ...
8
votes
1answer
184 views

CloudDeploy - Import[x] issue

My question is about why Import executed in Wolfram Cloud with a fixed value (see A) works and with a variable (see B) doesn't when you use the form and submit the value 5565471199 (same as the fixed ...
1
vote
1answer
90 views

How can I run my API on an image?

I've built an API that takes a url of an image as an argument. Using Import[] I can easily call my API on any url and get the results... but I need to run it on an ...
6
votes
3answers
420 views

How to SemanticImport Multiple Excel Sheets

I have an Excel workbook with multiple sheets that I'd like to import into a dataset each. With Import I can target individual sheets by their name into a nested ...
0
votes
1answer
76 views

Package to read in data from excel files

I want make a package to add a function to Mathematica that reads all excel files is the working directory that is set after the package is loaded. ...
1
vote
1answer
46 views

Edit header information of a DICOM file and export it again

I have some DICOM files and want to edit a part of the Header and export the DICOM files with this edited header. I know how to Import a DICOM files and extract the Header Information, but how to ...
0
votes
2answers
52 views

Why vertices number increased when importing .STL file

I import a .STL Import[*.st,"VertexData"] file on mathematica and I remark that the number of vertices is increased comparing to the number given by Blender. ...
1
vote
2answers
151 views

Plot from data containing “e”

I have data as a "dat" file exported from matlab in this format: ...
1
vote
0answers
86 views

SemanticImport::unexpinvaliderr error when using trial version

I am trying to use SemanticImport for a personal experiment. I can correctly import a tsv file from a path, but if I change ...
3
votes
1answer
172 views

how can i associate the headings of columns/rows with content of itself and then recall what i want after i've imported the excel file in mathematica

Hello, i make another try... I have to import a file like this below (it is an excel file, i show you just the beginnig. it should have thousend of rows and columns). After i've imported the file i ...
0
votes
1answer
37 views

Import a 3D CSV file results in the wrong dimensions

I exported a some of my data to a file, the data looks like this before the export ...
24
votes
6answers
5k views

Cut and paste data from a spreadsheet

I have a set of data points in two columns in a spreadsheet (OpenOffice Calc): I would like to get these into Mathematica in this format: ...
19
votes
1answer
2k views

How to programmatically extract mathematical formulas from Word with Mathematica 9?

I have a bunch of(1000+) Microsoft Word document in .Docx format. How can I programmatically extract the mathematical formulas from MS Word using Mathematica 9? This is what example looks like (or ...
4
votes
2answers
131 views

Extract part of a matrix

I have imported a matrix from a .txt file (it could be better from an Excel file): ...
1
vote
1answer
64 views

How to import an external pdf file leaving text as text?

When Importing in Mathematica (v10.3) a pdf file containing some text, the text is "vectorialized", meaning that it does not seem to be loaded as text, and ...
6
votes
2answers
2k views

When importing is it possible to set the delimiter?

When importing a csv file is there a way to set the delimiter. I have a csv that uses ";" as its delimiter. I tried ...
3
votes
2answers
121 views

Take a specific part of a matrix imported from a .xls

i would like to know if there are any ways to link headings of a table i had imported with the data in the table itself. I imported a matrix from an excel file and i want to take a specific part of ...
0
votes
1answer
79 views

how to import a matlab 3 dimensional array into mathematica

I have created a three dimensional array "data" in matlab by using the following commands : ...
0
votes
1answer
79 views

What´s wrong with my FindFit

I updated the data which is a table I deleted the first coordinate as it was the quote from the document. ...
2
votes
2answers
125 views

Applying transformations to data coming from an STL file

I am very new with the use of 3D graphics in Mathematica, so my question might be very naive. I need to Import an STL file, apply transformations to it (rotation and translation), and export it back ...
3
votes
1answer
156 views

Run Command Not Executing Node

How do I make the following command work in Mathematia? Import["!\"C:\\Program Files\\nodejs\\node.exe\" -p console.log('test')", "Text"] I don't get any output ...
4
votes
0answers
30 views

Can't get Mathematica to Import PDF files with diacritics on the file name

Tested with versions 9.0.0, 10.0.2 and 10.3.0, all under OS X 10.10.5. The drag-and-drop ...
1
vote
1answer
41 views

Medium-sized graph won't build

Why can't Mathematica import a 40-KB file (mediumEWD.txt) and build the underlying graph in some decent time? I waited a minute, nothing. ...