Questions tagged [import]

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

162 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
93 views

Import[] .obj data with per-vertex colors?

There's a somewhat standard way of including per-vetex color with obj files: Geometric Vertex[edit] A vertex can be specified in a line starting with the letter "v". That is followed by (x,y,z[,w]...
1
vote
0answers
46 views

Arrange of several files

I am struggling to import my data. There are 400 files in CSV format with names organised by date like: Table1_20111003_YYYY_MM_DD_0000.dat. In each file over 20 colums and 86400 rows (seconds of ...
1
vote
0answers
57 views

embeding an image in a cdf deployment

I would like to embed an image into CDF. Import function just import the function from a pathway but I would like the image to be present in the CDF or nb file as a part of it not importing. ...
1
vote
0answers
164 views

Import using POST method and web-page drill down

A response to a previous question about invoking the POST method via Mathematica was most informative in trying to further understand the intricacies of using the POST Method to obtain tabular data ...
1
vote
0answers
173 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
1
vote
0answers
119 views

Error when importing XML - XMLGetString::pserr: MalformedURLException

I am getting the following error when trying to import XML: ...
1
vote
0answers
50 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 that?...
1
vote
0answers
46 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 list...
1
vote
0answers
257 views

How to Import .ibw files in Mathematica

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

Can I import (and repair) damaged GIS shape files?

Five GIS shape files are available online at http://www.utahcounty.gov/OnlineServices/maps/DataLayers.asp. Mathematica 10 imports 4 of the 5 files just fine (in the sense that, after download, <...
1
vote
0answers
94 views

Import a web page with $\LaTeX$ code including images (png or other)

To be brief; I would like to import a web page, so I use Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which ...
1
vote
0answers
199 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 ...
1
vote
0answers
175 views

Datastream to Mathematica

I currently use data from Thomson Reuters Datastream. With an add-in in Excel, the data can be requested. Because I need to use the data in Mathematica, and I need to update the data frequently: Is it ...
1
vote
0answers
424 views

InstallJava::fail error when importing an image with a Raspberry Pi

I'm trying to import an image in Mathematica on my Raspberry Pi. The code is simple but I get an error when importing: ...
1
vote
0answers
111 views

Getting InputStream errors when including a call to ElementData within an Import definition

So I am writing an ImportExport converter for a common chemistry file format, and I've run up against a problem that seems to be about shared streams and whatnot. ...
0
votes
0answers
28 views

How do I import changing/dynamic data on a webpage?

A remote device (sensor) is sending measurements (that I get in JSON format) to a given URL and is sending new measurements (data points) every couple of minutes. I cannot share the URL but the ...
0
votes
0answers
54 views

Finding area between curves formed by csv data

I have a bunch of Differential Pulse Voltammetry data I am trying to import into Mathematica, and find the area between each curve and the blank. So far I have used the following commands: ...
0
votes
0answers
16 views

Strange Import behaviour from wls script

I have a data file that is composed as follows ...
0
votes
0answers
36 views

How to export a multidimensional array in which each element is also an array?

I have a {15,5,2} dimensional array and each element is itself a {14,16} dimensional array. When I export/import my file as an excel file I get a {15,,5,2} dimensional array but with {} dimension for ...
0
votes
0answers
32 views

Verify that a document matches a URL

Writing: Quiet[Length[Import["http://www.africau.edu/images/default/sample.pdf"]]] I get: 2 while writing: ...
0
votes
0answers
37 views

interface problem for image recognition

I made the following code that should recognize the image imported from the pc. If I do it for the first time it's fine, but if I load a second image it leaves me the name of the previous one. You ...
0
votes
0answers
41 views

Undo added line breaks PutAppend

I used PutAppend to write away a some results. It turns out that Mathematica has inserted annoying line breaks. This is discussed in Why there are line breaks when ...
0
votes
0answers
46 views

How to Import .edf file in Mathematica?

My file is: https://drive.google.com/file/d/1dbjE4zWRS4zKr2lQk05wg-bjEyM5KT0I/view?usp=sharing I was trying to import .edf file in Mathematica, but every time it showed error. Import["File.edf"]; ...
0
votes
0answers
106 views

Trouble importing PDF onto mathematica

I'm new to Mathematica, so I don't really understand some of the coding. Each time I enter this, or a variant of this code ...
0
votes
0answers
19 views

Importing clampex .abf data into mathematica

I`ve been looking for a way of directly importing data from axon binary files (.ABF) acquired with the clampex software (software webpage). I believe this will be very helpful for all the user that ...
0
votes
0answers
43 views

How should I import list of results with scientific numbers so they can be used for further calculation?

I have a file, listOfResults.txt, consisting of many rows of which the following is an example: ...
0
votes
0answers
32 views

Import webpage via proxy server

I would like to import a webpage into Mathematica which is installed in a PC in the Intranet. However, the webpage is blocked by the Intranet as it contains some forbidden words. Is there any way to ...
0
votes
0answers
229 views

How to run a .nb file in another notebook file changing a variable in a specific range

Let's say I have a .nb file (called "File1.nb" ) in which some calculations are performed and the results can be exported. In that file all the variables are defined with the exception of the variable ...
0
votes
0answers
74 views

Export & Import Association with Lists and Rationals without ExpressionJSON

Consider following association: ...
0
votes
0answers
26 views

Restructure list during Import

I am continuously importing a text file which is written by another program and read in Mathematica. The text file gets updated in chunks, meaning that the text file is augmented by a certain number ...
0
votes
0answers
35 views

Cannot import ExampleData/dialing.m4a in mma version 11.2.0.0

I cannot import MPEG-4 audio, whether it be the example file provided, or any other M4A file I have. The documentation clearly states that this should work, but here's what I get when I try it. <...
0
votes
0answers
105 views

Import Stackoverflow data and convert it into dataset

I have an xml file with the tag data from Stackexchange: https://archive.org/download/stackexchange/stackoverflow.com-Tags.7z After I unzip it I would like to import it to Mathematica to some ...
0
votes
0answers
369 views

specifying range of rows and columns of importing data

I have a text file that has below general form: ...
0
votes
0answers
39 views

assigning numerical values to variable

I have a csv data file, has two columns of data. First column denotes time (t) and the corresponding value in the second column is flow rate (f). I would like to assign these values to an array f[t], ...
0
votes
0answers
42 views

Export a big matrix with variables and functions

I googled a lot but didn't find a solution that works for me. The thing is, I have a very big matrix, est. $8000 \times 8000 $ in size and bigger. The calculation of the matrix takes a lot of time, ...
0
votes
0answers
63 views

Problems importing data file

I'm having trouble importing a CSV file. The CSV file doesn't have simple dimensions, some rows may have many more columns than others. From my imported file I cannot access the ...
0
votes
0answers
51 views

GeoTiff data import problem, bug?

I imported land cover classes from a GeoTiff file created in QGIS, where the classes are coded by discrete values (NLCD nomenclature). But it seemed the import function mirrors the values (maybe a bug)...
0
votes
0answers
131 views

Batch processing of data files

I have a large set of data files containing x-y coordinates. I have written a notebook to extract angles and other relevant lengths from a single data file before exporting the results into a new ...
0
votes
0answers
53 views

Is it possible to create an instrumental version of an mp3 file in Mathematica?

I'm aware that it's possible to use a program like Audacity to do this and that it's most likely easier, but I'd like to know how to make instrumental versions of songs in the mp3 format using ...
0
votes
0answers
249 views

Problems with UTF8 CSV Import in Mathematica 11.2

I have a lot of code for importing csv data from a research project. Everything fine with Mathematica 11.1.1. Now I have 11.2 and it seems as if UTF8 import ist buggy. I use the following simple code ...
0
votes
0answers
72 views

Don't know how to obtain the elements of a netCDF file

Running Mathematica on my home computer, I can list the contents of a netCDF file but can't read them, as shown in the image of my session [1]. On my work computer I can both list contents and read ...
0
votes
0answers
287 views

“updating from wolfram research server”

I failed to get the information on a website after several attempts, every time Wolfram Mathematica returned "updating from wolfram research server". Could anyone give me any advise? Thanks a lot!!! ...
0
votes
0answers
104 views

Import element from large excel file

I am trying to import some rows and columns from a large excel file, but I get this error There was insufficient Java heap space for the operation. Try increasing the Java Virtual Machine heap ...
0
votes
0answers
236 views

How to dilate or erode a 3D geometry import with STL format?

I am a freshman to Mathematica. I just wonder if it is possible to dilate or erode directly the 3D geometry in STL format. I have tried to import a STL file and then used Dilation function. However, ...
0
votes
0answers
71 views

Control interpretation by Import

When I Import an Excel file, sometimes Mathematica interprets the dates as DateObjects, and sometimes it doesn't. How can I ...
0
votes
0answers
55 views

How can I speed up import images into memory and make training more efficient

My memory is 32GB, windows 10, cpu 7700k, GTX1080 50k images[400MB] cost me 30 minutes. In a CAPTCHA example, a simple net and in tunning hyper-parameters step with small values of MaxTrainingRounds, ...
0
votes
0answers
31 views

Storing import / export formats for automatic loading

So for dredging stuff out of symbol definitions for looking at this comment I found there's this: ...
0
votes
0answers
78 views

Problems with Importing a pdf from an url

I have to process a lot of information from different pdf. I already have the code to download all the files, but i'm stuck in the part where i have to open the files with "Import". For example: http:...
0
votes
0answers
45 views

Problem importing Matlab data

I saved a matlab file with csvwrite command and the import it in mathematica as energ = Import["E.dat"] but then I get as the output: {{0.1}, {0.2}, {0.3}, {0.4}, {0.5}, {0.6} ... Instead of {0.1, ...
0
votes
0answers
58 views

How to interpreter file into date and json?

I have DateAndJson.txt and want to analyse it. ...