|
Modern Pragmatist posted:I have several sets of images representing dynamic information of a 3D volume. Essentially, several acquisitions of 4D data. I want to use a datatype to organize this data that allows me to navigate through the dataset in either the location, or time dimensions. I am imagining some sort of a linked list where each node has methods similar to: NextLocation, PrevLocation, NextTimePoint, PrevTimePoint, NextAcquisition, PrevAcquisition You probably want some form of spatially indexed data structure for the physical dimensions. Not really sure how to handle the time dimension, you could simply treat it as physical dimension. It really depends on how you want to access the data. How are you going to access the data? :edit: Some papers that might help: Comparision of some R-trees, including something caleld Time Parameterized R-tree, Time-Parameterized Queries in Spatio-Temporal Databases. litghost fucked around with this message at 16:54 on Jul 9, 2010 |
# ? Jul 9, 2010 16:44 |
|
|
# ? Jun 8, 2024 09:43 |
|
litghost posted:You probably want some form of spatially indexed data structure for the physical dimensions. Not really sure how to handle the time dimension, you could simply treat it as physical dimension. It really depends on how you want to access the data. How are you going to access the data? So after thinking a while, I realize that for each image, the time series data will be the same size, so this can be stored in a 3D matrix. Then my data looks like this: code:
Ideally I would like to be able to access it both indirectly (using NextZ, PrevZ, NextAcq, PrevAcq) or directly data[acq,location]. Each of these would allow me to obtain a 2D image acquired at a particular time point, location, and acquisition. For implementation of the direct access to the data, it would most likely rely upon the indirect method. edit: Just saw the links you posted. I'll check those out.
|
# ? Jul 9, 2010 17:31 |
|
The time parameterized R-Tree looks interesting but it seems to be most useful when individual objects inside your data space are moving. You are just trying to locate the correct data cube, each which has static time bounds unless I am misunderstanding. I don't see why a regular R-tree wouldn't be fine, with time as an extra index along with the spatial ones. I'd try that first in any case, since it's the simplest plausible thing to do.
|
# ? Jul 9, 2010 18:38 |
|
Not exactly programming - there's not exactly an Apache megathread. I'm having problems getting mod_auth on Apache 2.2.3 to work. I can't even get a prompt to fire. I copied the ACL list and passwd file over configtest-ed and restarted Apache and nothing (other webserver is running 2.2.8 - I have no say in Apache version). Checked the DocumentRoot in httpd.conf and made sure they matched (they did). core.c is loaded and mod_auth_basic and mod_auth_digest are loaded. Anyone run into any similar problems? Rewrites and everything that are also included are working as expected httpd.conf code:
code:
geeves fucked around with this message at 23:39 on Jul 9, 2010 |
# ? Jul 9, 2010 20:43 |
|
BigRedDot posted:The time parameterized R-Tree looks interesting but it seems to be most useful when individual objects inside your data space are moving. You are just trying to locate the correct data cube, each which has static time bounds unless I am misunderstanding. I don't see why a regular R-tree wouldn't be fine, with time as an extra index along with the spatial ones. I'd try that first in any case, since it's the simplest plausible thing to do. I agree, I was learning about this stuff to try and come up with an answer, and threw it out there. The first paper compares why you would choose an R-tree, an MVR-tree, or a TPR-tree. Modern Pragmatist posted:Ideally I would like to be able to access it both indirectly (using NextZ, PrevZ, NextAcq, PrevAcq) or directly data[acq,location]. What you call direct is an intersection query, indirect is more like a Nearest Neighbor query. For large data-sets you don't want to have to start at t=0 every search (linear), you want to search a tree (possible logN with worst case linear). litghost fucked around with this message at 05:28 on Jul 10, 2010 |
# ? Jul 10, 2010 05:23 |
|
This is a problem I'm kind of curious about: If you had a computer that had the locations of all the stars in the galaxy, and then gave it a random picture of the sky from some point within the galaxy, what would the time complexity be for triangulating its exact position, if there are N stars in the galaxy, and K stars in the picture?
|
# ? Jul 12, 2010 05:16 |
|
tractor fanatic posted:This is a problem I'm kind of curious about : This would get easier if your star database had size and spectra information for all the stars and your 'picture' was good enough quality to include the spectra.
|
# ? Jul 12, 2010 05:25 |
|
tractor fanatic posted:This is a problem I'm kind of curious about :
|
# ? Jul 12, 2010 06:26 |
|
Plorkyeran posted:With just locations there's a horrifically large number of cases where it isn't solvable. Do you have a reference for this?
|
# ? Jul 12, 2010 12:14 |
|
shrughes posted:Do you have a reference for this? All cases near a star where light pollution will completely annihilate any meaningful "triangulation" possibilities.
|
# ? Jul 12, 2010 12:52 |
|
There's no thread for Word Field/Mail Merge formatting issues, and while it's not exactly a programming question, I figure this is the best place to ask. I'm developing a mail merge template for project reviews to pull data from an excel spreadsheet into a boilerplate document. I've gotten most of the work done using TRUE/FALSE flags in excel and the {IF ...} field to insert relevant text blocks, but I'm having trouble with contextually adding points to a bulleted list. I can get a field starting at the end of one bullet point to span two lines to insert a new bullet point... but that removes the bullet from the first line. The alternative is to add an extra line for the merge field... but that leaves a blank line or blank bullet point that needs to be removed later. Here's the relevant code: code:
|
# ? Jul 12, 2010 20:56 |
|
baquerd posted:All cases near a star where light pollution will completely annihilate any meaningful "triangulation" possibilities. even if we assume perfectly bright pinpoints of light that have no attenuation, there'll be plenty of regions on the boundary of the galaxy for which there'd be no answer for where the camera was looking.
|
# ? Jul 12, 2010 21:11 |
tractor fanatic posted:This is a problem I'm kind of curious about : Solution: ask a Wookiee to calculate the jump to light speed.
|
|
# ? Jul 12, 2010 23:51 |
|
edit
DholmbladRU fucked around with this message at 15:38 on Jul 13, 2010 |
# ? Jul 13, 2010 14:49 |
|
DholmbladRU posted:I am working with a for a QA team that is testing an browser that is packaged with java. We are having some problems getting java(1.6) to work when the browser is run for the first time. This is a problem on xp, and 2000, and not a problem for the vista/7. The browser is unable to write the registry key until the second run. Is there any way around this Could you be a little more generic with your error description? We need code and examples.
|
# ? Jul 13, 2010 15:06 |
|
baquerd posted:Could you be a little more generic with your error description? We need code and examples. thanks. Was an issue with the profiles. DholmbladRU fucked around with this message at 15:38 on Jul 13, 2010 |
# ? Jul 13, 2010 15:11 |
|
DholmbladRU posted:thanks. Was an issue with the profiles. It's extremely bad form to nuke your questions (and/or to not post your solutions) online -- what if some poor soul came by afterwards who had your same issue? They'd be up poo poo creek
|
# ? Jul 13, 2010 18:28 |
|
That is my #1 pet peeve when searching for things online and getting mailing list results. Say I've got a problem where I'm frobnicating a nipshell but am getting the "Out of Flam" error. Well, I just do a little web search and what do you know, there's a guy with exactly the same problem. I'll just click "Next in thread" and…quote:Nevermind, I figured it out. It was obvious. Thanks anyhow!
|
# ? Jul 14, 2010 14:26 |
|
Don't know if this is the right place to post this, but I'm having trouble with some XML stuff. I'm going to be receiving a spreadsheet in either Excel or CSV format. I need to translate this into XML. I know that I can use XML Sources to translate it into XML, but I want to automate it. My VBA is poor, so I was looking for a third option. So far I've tried JDOM with some success, but I was wondering if anyone had any suggestions?
|
# ? Jul 14, 2010 16:31 |
|
Mustach posted:That is my #1 pet peeve when searching for things online and getting mailing list results. Say I've got a problem where I'm frobnicating a nipshell but am getting the "Out of Flam" error. Well, I just do a little web search and what do you know, there's a guy with exactly the same problem. I'll just click "Next in thread" and… Exactly. Last I knew, this was a SH/SC faux pas on the same level as closing your threads (i.e. probation or ban for repeated offenses). Now that I've looked through the various rules/FAQ threads, I can't even find "don't close your threads" anymore. Strange.
|
# ? Jul 14, 2010 20:09 |
|
I hope this is okay to post here, but I couldn't find a better place and the Excel megathread seems to be archived. In OpenOffice Calc I want to be able to apply formulas/functions to cells directly, as opposed to what I'm doing now which is creating a new column and dragging it down the page. For instance in this example B contains "=PROPER(A1)"++ code:
Thanks!
|
# ? Jul 15, 2010 16:18 |
|
I am trying to learn how to use ScaLAPACK and I am getting frustrated. I know the basics, like how you must initialize a processor grid and all of that. My problem is getting the data from the 2D array that I want to do linear algebra operations on and distributing it on that processor grid. It looks like if you are using high performance fortran, this isn't an issue. It is as easy as three lines. There seems to be another library that can do the same thing called IMSL. However, I cannot use these as I will have to use Intel's mpif90 compiler with mkl. As far as I can tell, Intel hasn't made a data distribution tool. I would be very happy if someone can prove me wrong. There has to be a subroutine or tool that someone made whose input is a N by N matrix, along with the specifications from the processor grid (or DESCA, if they want to be crafty), and automatically preforms the distribution. This seems like a vital part of the process. I might just start coding it myself, but it seems like the type of thing that other people have done a million times, so there is a ready-made version of it out there. I would prefer a 2D-cyclic distribution as it is the most widely used, but any would do for now. Does anyone know if this kind of thing exists?
|
# ? Jul 15, 2010 17:39 |
|
Does anyone have a link to a good guide on setting up a router to automatically forward unrecognized MAC addresses or people who try to connect with out my permission to a URL of my choosing?
|
# ? Jul 15, 2010 21:24 |
|
You realize that people can just clone your mac and still use your wifi?
|
# ? Jul 15, 2010 23:02 |
|
Almost nobody who is looking for free WiFi has the knowhow to do that.
|
# ? Jul 15, 2010 23:04 |
|
The guy I'm trying to help out lives in a apartment that is 50/50 retired people and college kids. E: I probably should tell him to use the default encryption. -and I think I already have, but I believe he said something about one of his devices not being able to use it. Either way any guide for that type of setup would be nice since I'd like to do something similiar when I get back to the states and have my own wifi. \/\/ E2: E-Harder Sweet thanks! ChauchetRedemption fucked around with this message at 05:51 on Jul 17, 2010 |
# ? Jul 16, 2010 01:47 |
|
Magnum1371 posted:The guy I'm trying to help out lives in a apartment that is 50/50 retired people and college kids. Is there any reason why you can't just use WPA?
|
# ? Jul 16, 2010 03:12 |
|
Magnum1371 posted:The guy I'm trying to help out lives in a apartment that is 50/50 retired people and college kids. In the router go to the wireless security setting and it should have an option to filter by MAC address. Enable it and only add the MACS that you want to connect to the network. To find the mac address on windows open the command prompt and type [code]ipconfig /all[code], that will tell you the MAC address of every network card on the computer and you just have to find the one that belongs to the wireless card.
|
# ? Jul 16, 2010 14:45 |
|
A few pages back I was making an idiot mistake, thanks for the help guys. I might be making another one now edit: yes I was Henry Black fucked around with this message at 00:48 on Jul 17, 2010 |
# ? Jul 17, 2010 00:24 |
|
No Word Field geeks here, huh? Any suggestions on where I should go (other forums, etc) to get my question answered?
|
# ? Jul 17, 2010 01:53 |
|
Here's a stupid python question. I have a list and I want to add 180 to all the negative values. Here's what I tried: for x in list: if x < 0: x = x + 180 But that didn't work. Then I tried defining a function for adding, like this: def add(x): return x + 180 for x in list: if x < 0: x = add(x) But that didn't work either. How do I make this simple poo poo work?
|
# ? Jul 17, 2010 04:07 |
|
Guessing for i in range(len(list)): if list[i] < 0: list[i] += 180 but i know literally nothing about python
|
# ? Jul 17, 2010 04:11 |
|
bidikyoopi posted:Here's a stupid python question. I have a list and I want to add 180 to all the negative values. Here's what I tried: code:
The whole right hand side is a list comprehension which basically does stuff to every item in a list. value + 180 if value < 0 else value basically says what it looks like, if the value that is currently being looked at is less than 0 it uses value + 180, otherwise it just uses value. This is done for everything in oldList, and then the resulting list is assigned to newList (you can reassign to oldList if you want.
|
# ? Jul 17, 2010 04:19 |
|
1. Are you sure you really don't want to add 360? 2. Are you sure you really don't want to add n*180 for some value of n such that the result is >= 0 and < 180? [x % 180 for x in list]
|
# ? Jul 17, 2010 05:33 |
|
bidikyoopi posted:Here's a stupid python question. I have a list and I want to add 180 to all the negative values. Here's what I tried:... The problem you're having is a mis-understanding of variables in python. An easy way to think about variables is as nametags. When you say: code:
code:
code:
|
# ? Jul 17, 2010 05:41 |
|
hlfrk414 posted:
Can you not get the memory reference for the variable x in python somehow?
|
# ? Jul 17, 2010 11:04 |
|
This is a painfully simple question, but I'm at my wits end. I'm making a program in Visual Studio 2010 for class that converts one unit to another using two groups of radio buttons. The instructions state that select case must be used. This is what I have for the first radio button group: Private Sub RadioButtonInchesFrom_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radInchesFrom.CheckedChanged, radFeetFrom.CheckedChanged, radYardsFrom.CheckedChanged, radMilesFrom.CheckedChanged Dim RadBtnFrom As RadioButton = CType(sender, RadioButton) Select Case RadBtnFrom.Text Case "Inches" dblNumberOfInches = CDbl(txtTextBox.Text) Case "Feet" dblNumberOfInches = CDbl(txtTextBox1.Text) * 12 Case "Yards" dblNumberOfInches = CDbl(txtTextBox1.Text) * 36 Case "Miles" dblNumberOfInches = CDbl(txtTextBox1.Text) * 36 * 1760 End Select End Sub dblNumberOfInches is defined as a module level variable. I can step through to the "dblNumberOfInches = CDbl(txtTextBox.Text)" line when it gives me "Conversion from string "radInchesFrom" to type 'Double' is not valid" error. How can I get this stupid thing to run?
|
# ? Jul 17, 2010 21:05 |
|
No Safe Word posted:
Ok, I just did some reading on list comprehensions. The transformation using value makes total sense, I should have tried that right off the bat instead of using forloops. hlfrk414 posted:The problem you're having is a mis-understanding of variables in python. An easy way to think about variables is as nametags. When you say: This was super helpful. I'm still getting used to the way variables work in python (two weeks of python so far), makes sense that you have to change the value and not the index.
|
# ? Jul 17, 2010 21:52 |
|
Are there flags combinations to objdump that will include assembly of shared libraries with the appropriate offset? I'm trying to find the instructions that correspond to a particular address, but it looks like it's deep in some shared library so I can't just run it on the executable and look in the .text segment. Thanks.
|
# ? Jul 17, 2010 22:12 |
|
|
# ? Jun 8, 2024 09:43 |
|
Dijkstracula posted:Are there flags combinations to objdump that will include assembly of shared libraries with the appropriate offset? I'm trying to find the instructions that correspond to a particular address, but it looks like it's deep in some shared library so I can't just run it on the executable and look in the .text segment. Could getting the map output help here? It would at least tell you which module it is in.
|
# ? Jul 18, 2010 01:36 |