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

0
votes
0answers
25 views

Access interactive web forms

I would like to communicate with interactive web forms, e.g., get the same HTML response as if I had clicked a "select" button and then clicked a "submit" button on a web page. This is for automated ...
7
votes
1answer
69 views

Reading NIfTI-1 files

How can I read NIfTI-1 files (.nii extension) in Mathematica? Are there existing tools for this?
2
votes
3answers
77 views

Why does Import[#, “ImageLinks”]& fail?

I'm having difficulty with Importing urls embedded in a site (with and without pagination). This command: ...
2
votes
2answers
146 views

Can not generate graph using smooth kernel distribution

I am a newbie to Mathematica so this question might looks silly. I want to generate a smooth kernel distribution graph for this set of data. The data I uploaded has two columns, the first column is ...
4
votes
1answer
102 views

How to analyze all the data in a directory

I am trying to import, analyze, and save all the .txt files in a specific directory. I can do this with a single .txt file using the following code: ...
3
votes
1answer
84 views

Problem exporting and re-importing STL file

I wrote all code and there're no errors in code. Result of code is like first picture(left). But I can't Import that structure. The result of import stl file is second one(right one). How can I import ...
1
vote
0answers
47 views

Create set of data from vector curve [closed]

I need exactly what is written in the title. Suppose we have some curve plotted: p = Plot[Sin[x],{x,0,2pi}] now we save that as vector graphics: ...
0
votes
1answer
61 views

Constructing a grid of individual plots for data imported from a list of files [closed]

I have to plot 6 data plots (ListPlot) in a GraphicsGrid from 6 different files (each data file has four columns of which the ...
2
votes
0answers
27 views

Error importing MBOX file

I am trying to import the mbox file generated by gmail. Using the Import command. ...
1
vote
0answers
40 views

Why is BinaryReadList faster than BinaryRead? [closed]

I work on a package for Mathematica which reads some binary data from a file. I use BinaryRead to read data from the file, but it looks like ...
1
vote
1answer
45 views

Strange behavior: Cannot import data as MP3 format anymore

I am having the strangest problem since a day: Mathematica is no longer (after a reinstall) able to import MP3 files. I think these details should not be relevant, but they are all there are: It ...
7
votes
1answer
125 views

Reading a HDF file im Mathematica

Bug introduced in 8.0 or earlier and persisting though 10.2 On OS X, the problem is present in 9.0 but not in 10.0, 10.1 or 10.2. I am trying to read a HDF file in Mathematica 9 on OS X and get ...
0
votes
0answers
62 views

Getting Boston Marathon Data [duplicate]

I am trying to use Mathematica to analyze the data given by the Boston Marathon concerning running time, etc. The website http://registration.baa.org/2015/cf/Public/iframe_ResultsSearch.cfm gives a ...
3
votes
1answer
74 views

How to import several files at once?

I tried to import multiple files at once. Following this topic my code is ...
3
votes
0answers
79 views

Importing large number of frames form Video - improved method?

I am trying to work with large numbers of frames from a video (30000+). I see there are a number of answers out there, but I find none of them satisfying - see below for details. I understand from ...
1
vote
2answers
115 views

Doing same operation on multiple files

Is there a way in mathematica to do same operation on multiple files at once? And preferably have the output in a table or list form? I want to do the following operation preferably in few non-labor ...
1
vote
0answers
63 views

Is there a way to specify which kernel is used to import files (SOLVED)?

Following up on a previous question in which I encountered a memory leak in the JSON importer I have created a SandBox script that will run the Import and analysis on a separate kernel, which be ...
1
vote
0answers
55 views

Importing SQL view vs table

I am trying to import a SQL view not a table in Mathematica. The command: SQLSelect[conn, "DataByYear"] This will correctly bring in the table. However using the ...
2
votes
0answers
56 views

I can SystemOpen but I can't Import an online file (Internet and Intranet)

Thank you MarcoB and Pickett. I am currently using the Mathematica trial version on my laptop since my company's enterprise version will take 2 more weeks to setup because there are a lot of hoops to ...
1
vote
1answer
51 views

Using Get function to return a specific expression

I am trying to use Getto import data saved as a .nb document. The problem is Getevaluates all expressions but only returns the ...
4
votes
2answers
97 views

Reading from a file: complex number with small imaginary part

I'm trying to read a matrix from the next file: 1+1e-18i 24 42 23.43e-23i using u=Import["file.dat","Table"]; and then find, ...
6
votes
2answers
100 views

Possible memory leak when importing JSON

Bug introduced in 10.0 and persisting though 10.2.0 This problem that I would like to resolve is how to free memory used Import a file when the file is no longer in use. I have a project in which ...
2
votes
2answers
59 views

Import a column of data, make a matrix from it and export it WITHOUT curly braces

I'm new here and with Mathematica, too. I want Mathematica to import data from a txt file (it has one column of data). These entries are z-values. From this I want to make a matrix - 508 entries make ...
0
votes
1answer
54 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 ...
1
vote
0answers
33 views

How to avoid import evaluation until if wil return true

My goal is to import a data from url that depends of 1 parameter, this initialy value is null or undifined en yo have to selec some popup and then the variable has value, what is the method to do ...
1
vote
0answers
30 views

Imported variables (.mx) are emptied occassionally (Linux, v10.0.2)

I have a severe problem with variables being "emptied" occassionally. I am not able to reproduce the behavior but this is basically what happens: 1) store list ...
7
votes
2answers
81 views

Why doesn't Import work with XOWA offline Wikipedia database?

I'm having trouble with importing HTML from XOWA offline wikipedia database. I set up a local server for datamining, but I can't access it with Mathematica. I can request a HTML page with ...
1
vote
0answers
35 views

Use of MuPad code into mathematica [duplicate]

Does somebody have experiences so as to transform a MuPad code into a notebook into mathematica ? I would like to export equations written in Mupad to Mathematica. Thank you for your help
-3
votes
1answer
63 views

Loading CSV file is slow

I'm trying to import a CSV file that contains the latitude and longitude of some USA routes, but the import process is very slow and Mathematica spent about 10 min importing it. A link to the file ...
3
votes
1answer
82 views

How is Precision of Imported Data managed?

I am working on a financial/banking type application and part of the work is to import numeric data of 15 to 20 digits of precision. I am having trouble determining the best way this should be done. ...
0
votes
2answers
93 views

String quotes elimination

I'm trying to import a .csv file that contains some points which are geo-positions, but the import gives me the points wrapped in quotes. Is there any method to get them as pairs of real numbers? I'm ...
2
votes
1answer
32 views

BinaryWrite negative numbers [closed]

testList = {1, 2, 3, 4}; file = "test1"; BinaryWrite[file, testList]; BinaryReadList[file] Close[file]; Gives {1, 2, 3, 4} ...
2
votes
3answers
66 views

An extra { when importing a file [closed]

I am trying to import data from a file. {k0,{a0,b0,c0},{e0,f0,g0}} {k1,{a1,b1,c1},{e1,f1,g1}} MyList = Import[file, "Data"]; But I get a list with an extra "{" ...
2
votes
0answers
52 views

Open LabView's TDMS file?

How to open the National Instruments LabView TDMS files? Has anyone developed a library or code for easily importing these? National Instruments provide a DLL and specification for the format. There ...
6
votes
0answers
57 views

How to connect to a video stream?

Is there a way to get a current frame from video streams (especially from RTSP streams)? I would like to connect to a camera in my local network and get a snapshot from it to do some further ...
3
votes
1answer
158 views

How to sample n frames from a movie file?

I'm looking to import 100 image frames from an mp4 video file at roughly evenly spaced intervals. As $ImportFormats shows, Mathematica can handle Movie files: .avi, .mov, .qt, .flv Multiframe ...
6
votes
2answers
149 views

Import data from excel and store it permanently in notebook

I am trying to write the code for doing the following: by clicking a button, import specific data from an Excel file which I select through a dialog window; input a name for the imported data set ...
1
vote
1answer
58 views

Convert spreadsheet (Excel) to *.csv during import

I have long lists of data in spreadsheets and have the problem that Mathematica crashes regularly during import of the .xlsx files. Is it possible within Mathematica to take a certain tab of a .xlsx ...
6
votes
1answer
56 views

Importing hex values from a text file

This question appeared maybe an hour ago, but was removed by OP. I'm still interested in a solution. Suppose we have a text file with hex numbers separated by tabs (or spaces): ...
1
vote
1answer
104 views

PDB Graphics Options: Opacity and Scale to superimpose on 3D point plot

I am trying to superimpose a pdb file into a 3D plot of points extracted from the pdb model, while making the pdb somewhat transparent for easy viewing of plotted points. My problems are as follows. ...
1
vote
1answer
52 views

Importing a spreadsheet with infinity values from Excel

I have imported a spreadsheet from Excel that I want to use as an adjacency matrix. I want to use this matrix as the argument in WeightedAdjacencyGraph, so I have ...
15
votes
2answers
158 views

HDF5 importing large arrays

I have some computations that output a 300,000,000 element array of long unsigned ints, so about 2.4GB, in an h5 file. Mathematica handles files south of 2GB fine, albeit taking very long to import ...
7
votes
2answers
216 views

How to copy and paste $n$ lines from a text editor to $n$ cells?

If I copy from an external editor to Mathematica notebook a block of lines (with a code) line 1 line 2 ... line n then whole text is copied to a single cell. I ...
12
votes
1answer
208 views

Any solution to transfer data between Python and Mathematica

I think Mathematica handles .mat file not very well, python is pretty good at this kind of jobs. In this site, there are plenty of question related to calling Mathematica from Python, or calling ...
1
vote
2answers
99 views

Plotting data from multiple text files

I'm new to mathematica and stack exchange, so any help would be appreciated. I want to plot a bunch of data from text files that contain a lot of extraneous data. I have a hundred files with different ...
8
votes
2answers
326 views

AJAX-style HTTP calls triggered by a variable change

I'm trying to create a dynamic InputField that would autocomplete the address as I type it into the field, by calling Google Maps' GeoCoding API on every change of ...
3
votes
2answers
160 views

Why are dictionary keys reordered upon JSON import?

After importing a JSON file, Mathematica changed the order of the fields. For example, I downloaded a sample file from: http://api.openweathermap.org/data/2.5/find?lat=55.5&lon=37.5&cnt=10 I ...
2
votes
1answer
44 views

Cloud, manipulate based on a external dataset

My question is about creating a Manipulate based on a external dataset (in my private Cloud) and publish it in the Public Cloud. ...
1
vote
0answers
42 views

How to Import .ibw files in Mathematica

Can anyone tell me how to import .ibw (igor binary wave) into Mathematica?
0
votes
0answers
68 views

Does ListPlot have a bug when plotting large lists?

I was able to plot the first 13315 points of my data, but as soon as I try to plot one more data point, it no longer works. If you load the data contained in the google doc file 19857 pairs of data, ...